SMAHA01500_예약접수[일반건진].xrw 111 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHA01500.xrw
  4. * 설 명 : 일반건진예약/접수
  5. * 설 계 자 : 손주연
  6. * 작 성 자 : 손주연
  7. * 작 성 일 : 2007.05.13
  8. * 수정이력 :
  9. * 기 타 :
  10. * https://ncs.ncc.re.kr/ncsapps/popup/GetPersonExamResultList.jsp : 국가조기암건진대상자조회
  11. -->
  12. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  13. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  14. <xhtml:head>
  15. <xhtml:title>예약/접수[일반건진]</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <list>
  21. <rsrvlst>
  22. <pid/>
  23. <pnm/>
  24. <sexage/>
  25. <rsrvdttm/>
  26. <lastupdtrid/>
  27. <lastupdtdt/>
  28. <statflag/>
  29. <cmpynm/>
  30. <rsrvdd/>
  31. <rsrvno/>
  32. </rsrvlst>
  33. <acptlst>
  34. <pid/>
  35. <pnm/>
  36. <sexage/>
  37. <acptflag/>
  38. <acptdttm/>
  39. <rsrvdt/>
  40. <lastupdtrid/>
  41. <lastupdtdt/>
  42. <cmpynm/>
  43. <rsrvdd/>
  44. <rsrvno/>
  45. </acptlst>
  46. <cncllst>
  47. <pid/>
  48. <pnm/>
  49. <sexage/>
  50. <cncldttm/>
  51. <lastupdtrid/>
  52. <lastupdtdt/>
  53. <cmpynm/>
  54. <statflag/>
  55. <rsrvdd/>
  56. <rsrvno/>
  57. </cncllst>
  58. <listinfo>
  59. <acptcnt/>
  60. <rsrvcnt/>
  61. <rcptcnt/>
  62. <cnclcnt/>
  63. <holdcnt/>
  64. <failcnt/>
  65. </listinfo>
  66. <sndlst>
  67. <pid/>
  68. <pnm/>
  69. <sexage/>
  70. <acptdt/>
  71. <lastupdtrid/>
  72. <lastupdtdt/>
  73. <rsrvdd/>
  74. <rsrvno/>
  75. </sndlst>
  76. </list>
  77. <info>
  78. <patinfo>
  79. <item>
  80. <pid/>
  81. <rgstno1/>
  82. <rgstno2/>
  83. <hngnm/>
  84. <engnm/>
  85. <sex/>
  86. <age/>
  87. <brthdd/>
  88. <zipcd11/>
  89. <zipcd12/>
  90. <zipcdseq1/>
  91. <addr1/>
  92. <detladdr1/>
  93. <mpphon/>
  94. <telno/>
  95. <emailid/>
  96. <emailtype/>
  97. <healexampid/>
  98. <emailkind/>
  99. <zipcd21/>
  100. <zipcd22/>
  101. <zipcdseq2/>
  102. <addr2/>
  103. <detladdr2/>
  104. <psptno/>
  105. <brthareacnts/>
  106. <pidcretfg/>
  107. <patm_insuid/>
  108. <patm_insukind/>
  109. <patm_insucd/>
  110. </item>
  111. </patinfo>
  112. <rsrvacptinfo>
  113. <item>
  114. <rsrvdd/>
  115. <rsrvno/>
  116. <healexamdetlflag/>
  117. <hopedd/>
  118. <rsrvtm/>
  119. <pid/>
  120. <orddd/>
  121. <healexampid/>
  122. <rcptstat/>
  123. <disccd/>
  124. <cmpyflag/>
  125. <cmpycd/>
  126. <bizoffccd/>
  127. <deptcd/>
  128. <clntempid/>
  129. <entcodd/>
  130. <jobkindflag/>
  131. <remcnts/>
  132. <rsrvflag/>
  133. <rsltcnstflag/>
  134. <rsltcnstrsrvdd/>
  135. <jobposcd/>
  136. <relacd/>
  137. <insucorpbrchcd/>
  138. <empid/>
  139. <insutrgtflag/>
  140. <insuflag/>
  141. <plceflag/>
  142. <scndhptstrgtyn/>
  143. <oraltestyn/>
  144. <freecncrtrgtyn/>
  145. <stmccncrflag/>
  146. <stmccncryn/>
  147. <largeintescncrflag/>
  148. <largeintescncryn/>
  149. <livcncrtrgtyn/>
  150. <livcncrflag/>
  151. <mamcncryn/>
  152. <mamcncrflag/>
  153. <cervcncrflag/>
  154. <cervcncryn/>
  155. <healcntrcd/>
  156. <spclhealexamflag/>
  157. <schlgrde/>
  158. <clsid/>
  159. <studid/>
  160. <medicostyn/>
  161. <insuclamyn/>
  162. <judgdrid/>
  163. <statflag/>
  164. <calcyn/>
  165. <pkgcd/>
  166. <conseq/>
  167. <pkguncocd/>
  168. <ownuncoamt/>
  169. <cmpynm/>
  170. <bizoffcnm/>
  171. <deptnm/>
  172. <healcntrnm/>
  173. <insucorpbrchnm/>
  174. <livcncrtrgtyn2/>
  175. <pkgnm/>
  176. </item>
  177. <pkglst>
  178. <sel/>
  179. <pkgcd/>
  180. <pkgnm/>
  181. <rsrvdd/>
  182. <acptdd/>
  183. <acpttm/>
  184. <uncocd/>
  185. <statflag/>
  186. <manamt/>
  187. <womamt/>
  188. <conseq/>
  189. <pkgflag/>
  190. <lastupdtrid/>
  191. <lastupdtdt/>
  192. <disccd/>
  193. <calcscorcd/>
  194. </pkglst>
  195. <addlst>
  196. <sel/>
  197. <testflag/>
  198. <testcd/>
  199. <testnm/>
  200. <uncocd/>
  201. <scoreamt/>
  202. <prcptims/>
  203. <cmpydiscamt/>
  204. <examseq/>
  205. <calcscorcd/>
  206. <prcpno/>
  207. <prcpdd/>
  208. <m/>
  209. </addlst>
  210. <historylst/>
  211. <firstrslt/>
  212. </rsrvacptinfo>
  213. <histlst>
  214. <item>
  215. <orddd/>
  216. <pkgcd/>
  217. <pkgnm/>
  218. <cmpyflag/>
  219. <rsrvdd/>
  220. <rsrvno/>
  221. <lastupdtrid/>
  222. <lastupdtdt/>
  223. </item>
  224. </histlst>
  225. <rcptinfo>
  226. <totamt/>
  227. <payinsubamt/>
  228. <payownbamt/>
  229. <payhealcntramt/>
  230. <paycmpyamt/>
  231. </rcptinfo>
  232. <curlst>
  233. <ordinfo>
  234. <ordlst>
  235. <rsrvdd/>
  236. <rsrvtm/>
  237. <prcpdd/>
  238. <testcd/>
  239. <testnm/>
  240. <uncocd/>
  241. <dcflag/>
  242. <testflag/>
  243. <prcpexecdeptcd/>
  244. <lastupdtrid/>
  245. <lastupdtdt/>
  246. <prcpno/>
  247. <execprcpno/>
  248. <rcptstat/>
  249. <scoreamt/>
  250. </ordlst>
  251. </ordinfo>
  252. </curlst>
  253. </info>
  254. <prntinfo>
  255. <prntyn>Y</prntyn>
  256. <prntlang>K</prntlang>
  257. </prntinfo>
  258. </main>
  259. <send>
  260. <srchrsrvdd/>
  261. <srchrsrvno/>
  262. <srchfromdd/>
  263. <srchtodd/>
  264. <srchhealexamdetlflag/>
  265. <srchpid/>
  266. <srchpnm/>
  267. <srchpid2/>
  268. <srchpnm2/>
  269. <srchinstcd/>
  270. <srchmode/>
  271. <srchhealexamflag/>
  272. <srchpkgcd/>
  273. <srchcmpycd/>
  274. <srchconseq/>
  275. <srchsex/>
  276. <srchjobflag/>
  277. <save>
  278. <instcd/>
  279. <userid/>
  280. </save>
  281. <savercpt>
  282. <opmi_out/>
  283. </savercpt>
  284. <srchorddd/>
  285. <srchcretno/>
  286. </send>
  287. <init>
  288. <srchmode>4</srchmode>
  289. <emailkind/>
  290. <srchhealexamdetlflag/>
  291. <srchhealexamflag/>
  292. <baseinfo>
  293. <healexamdetlflag/>
  294. <insutrgtflag/>
  295. <insuflag/>
  296. <plceflag/>
  297. <jobkindflag/>
  298. <spclhealexamflag/>
  299. <emailkind/>
  300. <cmpydetlcdlst/>
  301. <testflag/>
  302. <statlst/>
  303. <rsrvflaglst/>
  304. <ordstatlst/>
  305. </baseinfo>
  306. </init>
  307. <hidden>
  308. <save/>
  309. <item/>
  310. <saveacpt>
  311. <rsrvdd/>
  312. <rsrvno/>
  313. </saveacpt>
  314. </hidden>
  315. <source/>
  316. <temp>
  317. <addr>
  318. <zipcd/>
  319. <addrdetl/>
  320. </addr>
  321. <templst/>
  322. <rcptinfo>
  323. <hidden/>
  324. </rcptinfo>
  325. <cdlst/>
  326. <acptdtl>
  327. <addlist/>
  328. </acptdtl>
  329. <rcptno_out/>
  330. </temp>
  331. </root>
  332. </instance>
  333. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  334. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  335. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  336. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  337. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  338. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  339. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  340. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  341. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  342. <script type="javascript" ev:event="xforms-ready">
  343. <![CDATA[
  344. fGetBaseInfo();
  345. fSrchDtInit();
  346. fInitInfo();
  347. fInitList();
  348. model.toggle("case_acpt");
  349. btn_acptlst.selected= true ;
  350. fSetBtnStat();
  351. fGetList();
  352. ]]>
  353. </script>
  354. <submission id="TRZBC00101"/>
  355. <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  356. <submission id="TXAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
  357. <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  358. <submission id="TRAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
  359. <submission id="TRAHA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  360. <submission id="TRAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/pkgtestcdlst"/>
  361. <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
  362. <submission id="TRAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/histlst"/>
  363. <submission id="TRAHA00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/cmpydetlcdlst"/>
  364. <submission id="TXAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  365. <submission id="TXAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savercpt" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  366. <submission id="TRAHA00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/curlst/ordinfo"/>
  367. <submission id="TRAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rsrvacptkey"/>
  368. <submission id="TRAHA00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/cdlst"/>
  369. <submission id="TRAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/acptdtl"/>
  370. <submission id="TRAHA02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptno_out"/>
  371. <submission id="TXAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/tmp"/>
  372. <submission id="TXAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" resultref="/root/hidden"/>
  373. <submission id="TXAHA00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/main/info/rcptinfo"/>
  374. </model>
  375. <script type="javascript">
  376. <![CDATA[
  377. /**
  378. *기본정보 가져오기
  379. */
  380. function fGetBaseInfo(){
  381. //일반건진상세구분, 직역구분, 대상구분, 장소구분, 직종구분, 특검구분, EMAIL계정
  382. zbcfGetCodeList( new Array("A0070","A0108" ,"A0109", "A0110", "A0112" ,"A0111","A0120", "A0117" , "A0107" , "A0115", "M0011"),
  383. new Array("/root/init/baseinfo/healexamdetlflag" // 일반건진상세구분
  384. , "/root/init/baseinfo/insutrgtflag" // 직역구분
  385. , "/root/init/baseinfo/insuflag" // 대상구분
  386. , "/root/init/baseinfo/plceflag" // 장소구분
  387. , "/root/init/baseinfo/jobkindflag" //직종구분
  388. , "/root/init/baseinfo/spclhealexamflag" //특검구분
  389. , "/root/init/baseinfo/emailkind" //email 계정
  390. , "/root/init/baseinfo/testflag"
  391. , "/root/init/baseinfo/statlst"
  392. , "/root/init/baseinfo/rsrvflaglst"
  393. ,"/root/init/baseinfo/ordstatlst"
  394. ) );
  395. submit("TRZBC00101");
  396. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  397. submit("TRAHA00104");
  398. }
  399. /**
  400. *입력항목 초기화
  401. */
  402. function fInitInfo(){
  403. model.resetInstanceNode("/root/main/info/patinfo");
  404. fInitRsrvAcptInfo();
  405. //model.refresh();
  406. //fSetBtnStat();
  407. }
  408. /**
  409. * 접수 정보 초기화
  410. */
  411. function fInitRsrvAcptInfo(){
  412. model.resetInstanceNode("/root/main/info/rsrvacptinfo");
  413. model.resetInstanceNode("/root/main/info/rcptinfo");
  414. model.removeNodeset("/root/main/info/rsrvacptinfo/pkglst");
  415. model.removeNodeset("/root/main/info/rsrvacptinfo/addlst");
  416. model.removeNodeset("/root/main/info/rsrvacptinfo/histlst");
  417. model.removeNodeset("/root/main/info/rsrvacptinfo/curlst");
  418. var curDD = getCurrentDate();
  419. model.setValue(ipt_orddd.attribute("ref") , curDD );
  420. model.setValue(ipt_hopedd.attribute("ref") , curDD );
  421. model.setValue(ipt_entcodd.attribute("ref") , curDD );
  422. //cmb_healexamdetlflag.refresh();
  423. model.setValue( cmb_healexamdetlflag.attribute("ref"), cmb_srchhealexamdetlflag.value );
  424. model.setValue(rdo_plceflag.attribute("ref") , "2"); //내원
  425. model.setValue(rdo_insutrgtflag.attribute("ref") , "K"); //직장
  426. model.setValue(cmb_insuflag.attribute("ref") , "1"); //직장
  427. model.setValue(rdo_scndhptstrgtyn.attribute("ref") , "N"); //2차간염대상
  428. model.setValue(rdo_oraltestyn.attribute("ref") , "Y"); //구강검사대상여부
  429. model.setValue(rdo_freecncrtrgtyn.attribute("ref") , "N"); //무료암대상여부
  430. model.setValue(rdo_livcncrtrgtyn.attribute("ref") , "N"); //간암검사대상여부
  431. model.setValue(cmb_uncocd.attribute("ref") , "V03"); //청구구분 -공단
  432. model.setValue(cmb_disccd.attribute("ref") , "-"); //할인코드
  433. model.setValue(cmb_rsrvflag.attribute("ref") , "01"); //예약구분
  434. model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag" , "N"); //청구구분 -공단
  435. model.toggle("case_pkg");
  436. btn_pkglst.selected= true;
  437. model.setFocus("ipt_rgstno1");
  438. }
  439. /**
  440. *조회List초기회
  441. */
  442. function fInitList(){
  443. model.removeNodeset("/root/main/list/rsrvlst");
  444. model.removeNodeset("/root/main/list/acptlst");
  445. model.removeNodeset("/root/main/list/cncllst");
  446. model.removeNodeset("/root/main/list/sndlst");
  447. model.resetInstanceNode("/root/main/list/listinfo");
  448. }
  449. /**
  450. *조회Date초기화
  451. */
  452. function fSrchDtInit(){
  453. var curDD = getCurrentDate();770925
  454. model.setValue(ipt_srchfromdd.attribute("ref") , curDD );
  455. model.setValue(ipt_srchtodd.attribute("ref") , curDD );
  456. model.setValue(cmb_srchhealexamdetlflag.attribute("ref") , "G01");
  457. model.setValue(cmb_healexamdetlflag.attribute("ref") , "G01");
  458. }
  459. function fOperGrdRow(bAdd){
  460. var swt_idx = swt_info.selectedIndex ;
  461. switch(swt_idx) {
  462. case 0:
  463. if( bAdd ) {
  464. grd_pkglst.addRow();
  465. grd_pkglst.valueMatrix(grd_pkglst.row, 1) = "Y";
  466. grd_pkglst.col = 2;
  467. grd_pkglst.editCell();
  468. }
  469. else grd_pkglst.addStatus(grd_pkglst.row,"delete");
  470. break;
  471. case 1 :
  472. if( bAdd ) {
  473. grd_addlst.addRow();
  474. grd_addlst.valueMatrix(grd_addlst.row, 1) = "Y";
  475. grd_addlst.col = 2;
  476. grd_addlst.editCell();
  477. }
  478. else grd_addlst.addStatus(grd_addlst.row,"delete");
  479. break;
  480. case 2 :
  481. if( bAdd ) {
  482. grd_curlst.addRow();
  483. grd_curlst.editCell();
  484. }
  485. else grd_curlst.addStatus(grd_curlst.row,"delete");
  486. break;
  487. default:
  488. break;
  489. }
  490. }
  491. /**
  492. * 업체별 영업소 및 부서정보 조회
  493. */ function fGetCmpyDetlCdList(){
  494. if( ipt_cmpycd.value == "" ) return ;
  495. fCheckNodeExist("/root/send/srchcmpycd", true);
  496. model.setValue("/root/send/srchcmpycd", ipt_cmpycd.value );
  497. model.setValue("/root/send/srchinstcd" ,getUserInfo("dutplceinstcd"));
  498. submit("TRAHA00108");
  499. var node = instance1.selectSingleNode("/root/init/baseinfo/cmpydetlcdlst/info/insucorpbrchcd");
  500. if( node != null ) {
  501. ipt_insucorpbrchcd.value = model.getValue("/root/init/baseinfo/cmpydetlcdlst/info/insucorpbrchcd");
  502. opt_insucorpbrchnm.value = model.getValue("/root/init/baseinfo/cmpydetlcdlst/info/insucorpbrchnm");
  503. }
  504. }
  505. /**
  506. * 검사 및 패키지 코드
  507. */
  508. function fAddSingleTestCd(){
  509. var idx = 0;
  510. var sDest = "";
  511. var swt_idx = swt_info.selectedIndex ;
  512. var sCond = "";
  513. switch( swt_idx){
  514. case 0:
  515. idx = grd_pkglst.row ;
  516. sDest = grd_pkglst.attribute("nodeset") + "[" + idx + "]" ;
  517. sCond = grd_pkglst.valueMatrix(idx, 2);
  518. break;
  519. case 1:
  520. idx = grd_addlst.row ;
  521. sDest = grd_addlst.attribute("nodeset") + "[" + idx + "]" ;
  522. sCond = grd_addlst.valueMatrix(idx, 2);
  523. break;
  524. default :
  525. return ;
  526. break;
  527. }
  528. if( idx < 1) return ;
  529. fGetPkgCd("SMAHA01500", "P", "N","nm" , sCond, cmb_healexamdetlflag.value, opt_sex.value, sDest );
  530. }
  531. /**
  532. * 예약/접수/취소/보류 리스트 조회 .
  533. */
  534. function fGetList(){
  535. fInitList();
  536. if( isXPathTextNull( "/root/send/srchhealexamdetlflag") ||
  537. isXPathTextNull( "/root/send/srchtodd") ||
  538. isXPathTextNull( "/root/send/srchfromdd")) return ;
  539. model.setValue("/root/send/srchhealexamflag", fGetHealExamFlag());
  540. var vMode = fGetGnrlSrchMode();
  541. if( vMode == "") return ;
  542. model.setValue("/root/send/srchmode", vMode );
  543. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  544. openLoadingBar("건진자 리스트를 가져오는 중입니다..") ;//처리중 화면을 오픈한다.
  545. submit("TRAHA00103");
  546. closeLoadingBar() ;//처리중 화면을 close한다.
  547. }
  548. /**
  549. * 예약접수 건진자 리스트 조회 모드 설정
  550. * 예약1/예약등록2/접수3/취소4~6/2차대상자 8
  551. */
  552. function fGetGnrlSrchMode(){
  553. var idx = swt_list.selectedIndex ;
  554. switch(idx){
  555. case 0: idx = 3;
  556. break;
  557. case 1: idx = rdo_cnclmode.value ;
  558. break;
  559. case 2: idx = 1;
  560. break;
  561. default: idx = 8;
  562. break;
  563. }
  564. return idx;
  565. }
  566. /**
  567. * 예약/접수정보를 저장
  568. * Mode : 공통코드A0107참조
  569. **A 예약
  570. **B 예약보류
  571. **C 예약확인
  572. **D 예약취소
  573. **E 접수
  574. **F 접수취소
  575. **G 결과
  576. **H 판정
  577. */
  578. /**
  579. * 예약/접수정보 check.
  580. */
  581. function fCheckAcpt(vMode){
  582. var vRsvdd = "";
  583. var vStatus = model.getValue("/main/info/rsrvacptinfo/item/status");
  584. var vHealExamFlag = fGetHealExamFlag();
  585. var age = model.getValue(opt_age.attribute("ref") ) ;
  586. if( (age == "16") || (age == "44") || (age == "66") ){
  587. if(messageBox("생애전환기건진 대상자 입니다!\n정보를 ", "Q002" ) !== 6) return false;
  588. }
  589. if( model.getValue( cmb_uncocd.attribute("ref") ) == "" ){
  590. messageBox(" 청구방법을 ", "C001") ;
  591. model.setFocus("cmb_uncocd");
  592. return false;
  593. }
  594. //예약의 경우 예약일 입력 필수
  595. if( vStatus == "C" ) {
  596. if( !isRequiredGroup("ipt_rsrvdd") ) return false;
  597. vRsvdd = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
  598. vRsvdd = vRsvdd.toDate("YYYYMMDD");
  599. if( vRsvdd < getCurrentDate() ){
  600. messageBox("예약일자가 현재일자 전으로 ", "E005");
  601. model.setFocus("ipt_rsrvdd");
  602. return false;
  603. }
  604. }
  605. //접수
  606. else
  607. if( vMode == "E" ){
  608. var i = 0;
  609. var cnt = 0;
  610. var selrows = 0;/*grd_pkglst.rows;
  611. var selrows = 0;
  612. for( i = 1; i < cnt ; i++){
  613. if( grd_pkglst.valueMatrix(i, 1) == "Y" ) selrows++;
  614. }
  615. */
  616. var vData = model.getValue(ipt_pkgcd.attribute("ref")) ;
  617. if( vData == "" ) {
  618. messageBox(" 패키지를 ", "C001") ;
  619. return false;
  620. }
  621. /*grd_pkglst.getUpdateData();
  622. if( (selrows < 1) || (vData == "" )) {
  623. alert(" 패키지를 입력하세요.");
  624. return false;
  625. } */
  626. //직역구분
  627. if( rdo_insutrgtflag.value == "" ) {
  628. messageBox(" 직역구분을 ", "C002") ;
  629. return false ;
  630. }
  631. //대상
  632. if( cmb_insuflag.value == "" ) {
  633. messageBox(" 대상구분을 ", "C002") ;
  634. return false ;
  635. }
  636. var freecncryn = rdo_freecncrtrgtyn.value;
  637. if( freecncryn == "Y" ){
  638. if( ipt_healcntrcd.value == "" ) {
  639. messageBox("무료암 대상자입니다.\r\n관할 보건소를 ", "C001");
  640. model.setFocus("ipt_healcntrcd");
  641. return false;
  642. }
  643. }
  644. }
  645. if( ipt_insuid.value = "" ) {
  646. alert("증번호를 입력하세요");
  647. model.setFocus("ipt_insuid");
  648. return false ;
  649. }
  650. return true;
  651. }
  652. /**
  653. * 버튼 상태 변경
  654. */
  655. function fSetBtnStat(){
  656. btn_rsrvcfm.disabled = true;
  657. btn_acpt.disabled = true;
  658. btn_rcpt.disabled = false;
  659. btn_acptcncl.disabled = true;
  660. btn_rsrvcncl.disabled = true;
  661. var vStat = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  662. if ( vStat == "C" ){ //예약
  663. btn_rsrvcncl.disabled = false;
  664. btn_rsrvcfm.disabled = false;
  665. btn_acpt.disabled = false;
  666. }
  667. else
  668. if( vStat == "D"){ //예약취소
  669. btn_rsrvcncl.disabled = true;
  670. btn_rsrvcfm.disabled = false;
  671. btn_acpt.disabled = false;
  672. }
  673. else
  674. if( vStat == "E" ){//접수
  675. btn_acptcncl.disabled = false;
  676. }
  677. else
  678. if( vStat == "F" ){ //접수취소
  679. btn_rsrvcfm.disabled = false;
  680. btn_acpt.disabled = false;
  681. }
  682. else {
  683. btn_rsrvcfm.disabled = false;
  684. btn_acpt.disabled = false;
  685. }
  686. model.refresh();
  687. }
  688. /**
  689. * 증번호 11자리수중 첫 자리가 1~4 : 지역(J), 5~6 : 공.교(G), 7~8 직장(K)
  690. */ function fSetInsuTrgtFg(){
  691. var insuid = ipt_insuid.value;
  692. if( insuid != "" ) {
  693. insuid = insuid.substr(0,1);
  694. if( (insuid == "5" ) || (insuid == "6") ) insuid = "G";
  695. else
  696. if( (insuid == "7" ) || (insuid == "8") ) insuid = "K";
  697. else insuid = "J";
  698. rdo_insutrgtflag.value = insuid;
  699. }
  700. }
  701. /**
  702. * 무료암대상일 경우 관할 보건소 입력 필수
  703. * 비대상일 경우 무료암구분 disable
  704. * 대상구분 check 필요. 나이에따라 다름.
  705. * 위암검사 :만 40세이상인 자로서 희망자
  706. * 유방암검사 :만 40세이상인 여성희망자
  707. * 대장암검사 :만 50세이상인 자로서 희망자
  708. * 간암검사 :○ 당해연도전 2년간 2차검진결과 간장
  709. 질환 유질환자 및 간암발생고위험군
  710. 중 만40세 이상의 희망자
  711. ○ 당해연도 2차검진결과 간장질환 유질환자 중 만40세 미만의 희망자
  712. - 이 경우 간초음파 검사만 실시
  713. * 자궁경부암검사 :만 30세 이상인 여성희망자
  714. */ function fSetCncrCtrl(){
  715. /* chx_stmccncryn.disabled = true;
  716. chx_largeintescncryn.disabled = true;
  717. chx_livcncrtrgtyn.disabled = true;
  718. chx_mamcncryn.disabled = true;
  719. chx_cervcncryn.disabled = true;
  720. var freecncryn = rdo_freecncrtrgtyn.value;
  721. if( freecncryn == "N" ){
  722. return ;
  723. }
  724. chx_stmccncryn.disabled = false;
  725. chx_largeintescncryn.disabled = false;
  726. chx_livcncrtrgtyn.disabled = false;
  727. chx_mamcncryn.disabled = false;
  728. chx_cervcncryn.disabled = false; */
  729. }
  730. function fCheckFreeCncrTrgt(vMode) {
  731. var freecncryn = rdo_freecncrtrgtyn.value;
  732. if( freecncryn == "Y" ){
  733. var sex = opt_sex.value;
  734. var age = 0;
  735. if( opt_age.value != "" ) age = parseInt(opt_age.value);
  736. //위암검사 :만 40세이상인 자로서 희망자
  737. switch (vMode) {
  738. case 1:
  739. if( chx_stmccncryn.value == "Y" ){
  740. if( age < 40 ) {
  741. messageBox("위암검사는 만 40세이상인 자로서 희망자에 한합니다." , "E999");
  742. return false ;
  743. }
  744. model.setValue(cmb_stmccncrflag.attribute("ref"), "V12" );
  745. cmb_stmccncrflag.refresh();
  746. }
  747. case 2:
  748. if( chx_mamcncryn.value == "Y" ) {
  749. if( ( sex != "F" ) || ( (sex == "F" ) && (age < 40) ) ) {
  750. messageBox("유방암은 만 40세이상인 여성희망자에 한합니다." , "E999");
  751. return false ;
  752. }
  753. model.setValue(cmb_mamcncrflag.attribute("ref"), "V12" );
  754. cmb_mamcncrflag.refresh();
  755. }
  756. break;
  757. case 3:
  758. //대장암검사 :만 50세이상인 자로서 희망자
  759. if( (chx_largeintescncryn.value == "Y" )&& ( age < 50 ) ){
  760. messageBox("대장암검사는 만 50세이상인 자로서 희망자에 한합니다." , "E999");
  761. return false;
  762. model.setValue(cmb_mamcncrflag.attribute("ref"), "V12" );
  763. cmb_mamcncrflag.refresh();
  764. }
  765. break;
  766. case 4:
  767. //자궁경부암 : 만 30세이상인 여성희망자
  768. if( (chx_cervcncryn.value == "Y") &&
  769. ( (sex != "F" ) || ( (sex == "F") && ( age < 30 ) ) ) ) {
  770. alert("자궁경부암은 만 30세이상인 여성희망자에 한합니다.");
  771. return false;
  772. model.setValue(cmb_cervcncrflag.attribute("ref"), "V12" );
  773. cmb_cervcncrflag.refresh();
  774. }
  775. break;
  776. default :
  777. break;
  778. }
  779. }
  780. return true;
  781. }
  782. /**
  783. * 건진내역 계산
  784. 건진구분 :srchhealexamflag
  785. 예약일자 :srchrsrvdd
  786. 예약번호 :srchrsrvno
  787. 등록번호 :srchpid
  788. 기관코드 :srchinstcd
  789. */ function fCalcAmt(vJobFlag){
  790. var ret = -1;
  791. var vTmp = fGetHealExamFlag();
  792. if( vTmp == "" ) return ret;
  793. model.setValue("/root/send/srchhealexamflag", vTmp );
  794. vTmp = model.getValue(ipt_pid.attribute("ref"));
  795. if( vTmp == "" ) return ret;
  796. model.setValue("/root/send/srchpid", vTmp );
  797. vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
  798. if( vTmp== "" ) return ret;
  799. model.setValue("/root/send/srchrsrvdd", vTmp );
  800. vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
  801. if( vTmp == "" ) return ret;
  802. model.setValue("/root/send/srchrsrvno", vTmp );
  803. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
  804. model.setValue("/root/send/srchjobflag" ,vJobFlag);
  805. var sNd = "/root/temp/rcptinfo/hidden/opmi_out";
  806. model.resetInstanceNode(sNd);
  807. sNd = sNd + "/";
  808. openLoadingBar("수납예상내역 계산 중입니다..") ;//처리중 화면을 오픈한다.
  809. if( submit("TXAHA02101") == true ){
  810. model.makeValue(opt_payinsubamt.attribute("ref") , model.getValue( sNd + "opmi_payinsubamt"));
  811. model.makeValue(opt_payhealcntramt.attribute("ref") , model.getValue( sNd + "opmi_payhealcntramt"));
  812. model.makeValue(opt_paycmpyamt.attribute("ref") , model.getValue( sNd + "opmi_paycmpyamt"));
  813. model.makeValue(opt_payownbamt.attribute("ref") , model.getValue( sNd + "opmi_ownbamt"));
  814. model.makeValue(opt_totamt.attribute("ref") , model.getValue( sNd + "opmi_totamt"));
  815. model.refresh();
  816. ret = 1;
  817. }
  818. closeLoadingBar() ;//처리중 화면을 close한다.
  819. return ret;
  820. }
  821. /**
  822. * 처방내역 및 현황조회
  823. */
  824. function fGetOrdInfo(){
  825. model.removeNodeset(grd_curlst.nodeset);
  826. model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
  827. var sNd = "/root/main/info/rsrvacptinfo/item/";
  828. model.setValue("/root/send/srchpid" , model.getValue(sNd + "pid") ); //등록번호
  829. if( model.getValue("/root/send/srchpid") == "" ){
  830. messageBox("건진내역이 없습니다.", "E999");
  831. return ;
  832. }
  833. model.setValue("/root/send/srchrsrvdd" , model.getValue(sNd + "rsrvdd") ); //건진예약등록일자
  834. model.setValue("/root/send/srchrsrvno" , model.getValue(sNd + "rsrvno") ); //건진예약등록번호
  835. model.setValue("/root/send/srchorddd" , model.getValue(sNd + "orddd") ); //진료일자
  836. model.setValue("/root/send/srchcretno" , model.getValue(sNd + "cretno") ); //원무생성번호
  837. submit("TRAHA00701");
  838. }
  839. /**
  840. **건진자번호로 예약/접수 상세정보
  841. */
  842. function fGetDetlInfoHid(){
  843. model.makeNode("/root/main/info/rsrvacptinfo/item/rsrvdd");
  844. model.setValue("/root/main/info/rsrvacptinfo/item/rsrvdd", "");
  845. model.makeNode("/root/main/info/rsrvacptinfo/item/rsrvno");
  846. model.setValue("/root/main/info/rsrvacptinfo/item/rsrvno", "");
  847. var sHealExamPid = model.getValue("/root/main/info/patinfo/item/healexampid");
  848. if( sHealExamPid != "" ){
  849. var vHealExamDetlFg = model.getValue(cmb_healexamdetlflag.attribute("ref") );
  850. ahafGetRsrvAcpDetltInfoWithPid(vHealExamDetlFg, sHealExamPid);
  851. }
  852. }
  853. /**
  854. **기록지출력
  855. @author : 김다영
  856. @version : 2007-09-28
  857. */
  858. function fPrntChrt(){
  859. var pkgcd = ipt_pkgcd.value;
  860. if( pkgcd !="") {
  861. pkgcd = pkgcd.substr(4,1);
  862. if( pkgcd == "1" ){
  863. exeReportPreview("RPAHA01501", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  864. }
  865. else
  866. if( pkgcd == "2" ) {
  867. exeReportPreview("RPAHA01502", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  868. }
  869. }
  870. }
  871. ]]>
  872. </script>
  873. </xhtml:head>
  874. <xhtml:body guideline="1,1195;2,784;2,757;">
  875. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  876. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:13px; ">
  877. <![CDATA[예약/접수]]>
  878. <script type="javascript" ev:event="ondblclick">
  879. <![CDATA[
  880. open("SMAEA04300", "","","", "SMAEA04300", "","");
  881. ]]>
  882. </script>
  883. </caption>
  884. </group>
  885. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  886. <group id="group3" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  887. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  888. <caption id="caption14" class="search_name" style="left:636px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
  889. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  890. <caption>조회</caption>
  891. <script type="javascript" ev:event="DOMActivate">
  892. <![CDATA[
  893. fGetList();
  894. ]]>
  895. </script>
  896. </button>
  897. <line id="line16" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  898. <caption id="caption13" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
  899. <caption id="caption34" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  900. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
  901. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
  902. <input id="ipt_srchpid" ref="/root/send/srchpid2" class="input_search" maxlength="10" style="left:725px; top:8px; width:135px; height:19px; ">
  903. <script type="javascript" ev:event="onkeyup">
  904. <![CDATA[
  905. inputEnterKey("btn_srchpat", "DOMActivate");
  906. ]]>
  907. </script>
  908. </input>
  909. <button id="btn_srchpat" class="icon_search" style="left:865px; top:10px; width:16px; height:16px; ">
  910. <caption/>
  911. <script type="javascript" ev:event="DOMActivate">
  912. <![CDATA[
  913. fSearchPatInfo("SMAHA01500", "pnm", ipt_srchpid.currentText , "N", "/root/send", ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref"));
  914. fGetList();
  915. ]]>
  916. </script>
  917. </button>
  918. <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:885px; top:8px; width:200px; height:19px; "/>
  919. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" style="left:420px; top:8px; width:190px; height:19px; ">
  920. <choices>
  921. <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
  922. <label ref="cdnm"/>
  923. <value ref="cdid"/>
  924. </itemset>
  925. </choices>
  926. <script type="javascript" ev:event="xforms-select">
  927. <![CDATA[
  928. cmb_healexamdetlflag.value = cmb_srchhealexamdetlflag.value;
  929. ]]>
  930. </script>
  931. </select1>
  932. <caption id="caption42" class="search_name" style="left:331px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
  933. </group>
  934. <output id="opt_paycmpyamt" ref="/root/main/info/rcptinfo/paycmpyamt" class="output_fix" format="#,###" style="left:939px; top:692px; width:80px; height:19px; text-align:right; "/>
  935. <caption id="caption30" class="cell_1" style="left:857px; top:715px; width:79px; height:23px; vertical-align:middle; ">합계금액</caption>
  936. <line id="line23" class="line_2" style="x1:694px; y1:713px; x2:1189px; y2:713px; "/>
  937. <caption id="caption35" class="cell_1" style="left:857px; top:690px; width:79px; height:23px; vertical-align:middle; ">사업체부담액</caption>
  938. <caption id="caption5" class="cell_1" style="left:310px; top:691px; width:55px; height:47px; vertical-align:middle; ">특기사항</caption>
  939. <caption id="caption28" class="cell_1" style="left:692px; top:690px; width:79px; height:23px; vertical-align:middle; ">공단부담액</caption>
  940. <output id="opt_payownbamt" ref="/root/main/info/rcptinfo/payownbamt" class="output_fix" format="#,###" style="left:1094px; top:692px; width:95px; height:19px; text-align:right; "/>
  941. <caption id="caption29" class="cell_1" style="left:1021px; top:690px; width:69px; height:23px; vertical-align:middle; ">개인부담액</caption>
  942. <output id="opt_totamt" ref="/root/main/info/rcptinfo/totamt" class="output_fix" format="#,###" style="left:939px; top:717px; width:250px; height:19px; text-align:right; "/>
  943. <line id="line6" class="line_3" style="x1:310px; y1:738px; x2:1190px; y2:738px; "/>
  944. <output id="opt_payinsubamt" ref="/root/main/info/rcptinfo/payinsubamt" class="output_fix" format="#,###" style="left:774px; top:692px; width:80px; height:19px; text-align:right; "/>
  945. <switch id="swt_list" style="left:0px; top:75px; width:305px; height:615px; border-color:#c7a3cf; border-style:solid; ">
  946. <case id="case_acpt">
  947. <datagrid id="grd_acptlst" nodeset="/root/main/list/acptlst" caption="등록번호^성명^나이/성별^접수구분^접수일시^예약일시^최종수정자^최종수정일시" colsep="^" colwidth="57, 66, 66, 68, 88, 105, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:296px; height:600px; ">
  948. <col ref="pid"/>
  949. <col ref="pnm"/>
  950. <col ref="sexage"/>
  951. <col disabled="true" ref="statflag" type="combo">
  952. <choices>
  953. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  954. <label ref="cdnm"/>
  955. <value ref="cdid"/>
  956. </itemset>
  957. </choices>
  958. </col>
  959. <col ref="acptdttm" format="yyyy-mm-dd hh:nn"/>
  960. <col ref="rsrvdt" format="yyyy-mm-dd hh:nn"/>
  961. <col ref="lastupdtrid"/>
  962. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  963. <script type="javascript" ev:event="ondblclick">
  964. <![CDATA[
  965. ahafGetRsrvAcptDetl(3);
  966. ]]>
  967. </script>
  968. </datagrid>
  969. </case>
  970. <case id="case_cncl">
  971. <datagrid id="grd_cncllst" nodeset="/root/main/list/cncllst" caption="등록번호^성명^나이/성별^취소일자^최종수정자^최종수정일시" colsep="^" colwidth="68, 76, 71, 78, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:45px; width:296px; height:560px; ">
  972. <col ref="pid"/>
  973. <col ref="pnm"/>
  974. <col ref="sexage"/>
  975. <col ref="cncldd" format="yyyy-mm-dd"/>
  976. <col ref="lastupdtrid"/>
  977. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  978. <script type="javascript" ev:event="ondblclick">
  979. <![CDATA[
  980. ahafGetRsrvAcptDetl(4);
  981. ]]>
  982. </script>
  983. </datagrid>
  984. <group id="group4" style="left:0px; top:3px; width:300px; height:42px; vertical-align:top; ">
  985. <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:1px; width:295px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  986. <caption id="caption16" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">구분 :</caption>
  987. <select1 id="rdo_cnclmode" ref="/root/init/srchmode" overflow="visible" appearance="full" cols="4" rows="1" style="left:71px; top:8px; width:188px; height:20px; border-style:none; ">
  988. <choices>
  989. <item>
  990. <label>전체</label>
  991. <value>4</value>
  992. </item>
  993. <item>
  994. <label>예약취소</label>
  995. <value>5</value>
  996. </item>
  997. <item>
  998. <label>접수취소</label>
  999. <value>6</value>
  1000. </item>
  1001. </choices>
  1002. <script type="javascript" ev:event="xforms-select">
  1003. <![CDATA[
  1004. fGetList();
  1005. ]]>
  1006. </script>
  1007. </select1>
  1008. </group>
  1009. </case>
  1010. <case id="case_rsrv">
  1011. <datagrid id="grd_rsrvlst" nodeset="/root/main/list/rsrvlst" caption="등록번호^성명^나이/성별^예약일시^최종수정자^최종수정일시" colsep="^" colwidth="82, 66, 66, 68, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:296px; height:600px; ">
  1012. <col ref="pid"/>
  1013. <col ref="pnm"/>
  1014. <col ref="sexage"/>
  1015. <col ref="rsrvdttm" format="yyyy-mm-dd hh:nn"/>
  1016. <col ref="lastupdtrid"/>
  1017. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  1018. <script type="javascript" ev:event="ondblclick">
  1019. <![CDATA[
  1020. ahafGetRsrvAcptDetl(1);
  1021. ]]>
  1022. </script>
  1023. </datagrid>
  1024. </case>
  1025. <case id="case_snd" selected="true" style="left:0px; top:0px; width:303px; height:610px; ">
  1026. <datagrid id="grd_sndlst" nodeset="/root/main/list/sndlst" caption="등록번호^성명^나이/성별^접수일자^최종수정자^최종수정일시" colsep="^" colwidth="82, 66, 66, 68, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:296px; height:600px; ">
  1027. <col ref="pid"/>
  1028. <col ref="pnm"/>
  1029. <col ref="sexage"/>
  1030. <col ref="acptdt" format="yyyy-mm-dd hh:nn"/>
  1031. <col ref="lastupdtrid"/>
  1032. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  1033. <script type="javascript" ev:event="ondblclick">
  1034. <![CDATA[
  1035. ahafGetRsrvAcptDetl(5);
  1036. ]]>
  1037. </script>
  1038. </datagrid>
  1039. </case>
  1040. </switch>
  1041. <line id="line8" class="line_2" style="x1:310px; y1:335px; x2:1190px; y2:335px; "/>
  1042. <caption id="caption22" class="cell_1" style="left:586px; top:337px; width:55px; height:23px; vertical-align:middle; ">영업소</caption>
  1043. <caption id="caption24" class="cell_1" style="left:855px; top:386px; width:55px; height:23px; vertical-align:middle; ">학년</caption>
  1044. <caption id="caption25" class="cell_1" style="left:586px; top:362px; width:55px; height:23px; vertical-align:middle; ">보건소</caption>
  1045. <line id="line9" class="line_2" style="x1:310px; y1:360px; x2:1190px; y2:360px; "/>
  1046. <line id="line10" class="line_2" style="x1:310px; y1:384px; x2:1190px; y2:384px; "/>
  1047. <line id="line13" class="line_2" style="x1:310px; y1:408px; x2:1185px; y2:408px; "/>
  1048. <caption id="caption1" class="cell_1" style="left:855px; top:131px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
  1049. <caption id="caption2" class="tit_2" style="left:310px; top:57px; width:144px; height:13px; ">예약/접수정보</caption>
  1050. <line id="line17" class="line_1" style="x1:310px; y1:73px; x2:1190px; y2:73px; "/>
  1051. <caption id="caption36" class="cell_1" style="left:511px; top:78px; width:73px; height:23px; vertical-align:middle; ">접수일자</caption>
  1052. <line id="line19" class="line_2" style="x1:310px; y1:100px; x2:1185px; y2:100px; "/>
  1053. <caption id="caption37" class="cell_1" style="left:310px; top:78px; width:55px; height:23px; vertical-align:middle; ">검진구분</caption>
  1054. <caption id="caption32" class="cell_1" style="left:1016px; top:312px; width:55px; height:23px; vertical-align:middle; ">입사일자</caption>
  1055. <caption id="caption40" class="cell_1" style="left:855px; top:312px; width:55px; height:23px; vertical-align:middle; ">직종구분</caption>
  1056. <caption id="caption49" class="cell_1" style="left:855px; top:337px; width:55px; height:23px; vertical-align:middle; ">부서</caption>
  1057. <caption id="caption26" class="cell_1" style="left:1016px; top:386px; width:55px; height:23px; vertical-align:middle; ">반/번호</caption>
  1058. <line id="line12" class="line_2" style="x1:312px; y1:641px; x2:1187px; y2:641px; "/>
  1059. <caption id="caption56" class="cell_1" style="left:685px; top:157px; width:62px; height:23px; vertical-align:middle; ">성별/나이</caption>
  1060. <caption id="caption3" class="cell_1" style="left:685px; top:77px; width:62px; height:23px; vertical-align:middle; ">예약일자</caption>
  1061. <line id="line18" class="line_3" style="x1:310px; y1:100px; x2:1190px; y2:100px; "/>
  1062. <line id="line21" class="line_3" style="x1:310px; y1:229px; x2:1190px; y2:229px; "/>
  1063. <line id="line22" class="line_3" style="x1:310px; y1:408px; x2:1190px; y2:408px; "/>
  1064. <select id="chx_prntyn" ref="/root/main/prntinfo/prntyn" overflow="visible" appearance="full" style="left:923px; top:80px; width:50px; height:20px; border-style:none; ">
  1065. <choices>
  1066. <item>
  1067. <label>출력</label>
  1068. <value>Y</value>
  1069. </item>
  1070. </choices>
  1071. </select>
  1072. <select1 id="rdo_prntlang" ref="/root/main/prntinfo/prntlang" navindex="0" overflow="visible" appearance="full" cols="2" rows="1" style="left:976px; top:80px; width:95px; height:20px; border-style:none; ">
  1073. <choices>
  1074. <item>
  1075. <label>한글</label>
  1076. <value>K</value>
  1077. </item>
  1078. <item>
  1079. <label>영문</label>
  1080. <value>E</value>
  1081. </item>
  1082. </choices>
  1083. </select1>
  1084. <line id="line26" class="line_2" style="x1:310px; y1:285px; x2:1190px; y2:285px; "/>
  1085. <caption id="caption33" class="cell_1" style="left:855px; top:262px; width:55px; height:23px; vertical-align:middle; ">장소구분</caption>
  1086. <caption id="caption52" class="cell_1" style="left:855px; top:262px; width:55px; height:23px; vertical-align:middle; ">장소구분</caption>
  1087. <caption id="caption57" class="cell_1" style="left:1016px; top:287px; width:55px; height:23px; vertical-align:middle; ">2차간염</caption>
  1088. <caption id="caption59" class="cell_1" style="left:366px; top:288px; width:47px; height:23px; vertical-align:middle; ">무료암</caption>
  1089. <select1 id="rdo_insutrgtflag" ref="/root/main/info/rsrvacptinfo/item/insutrgtflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:369px; top:264px; width:149px; height:20px; border-style:none; ">
  1090. <choices>
  1091. <itemset nodeset="/root/init/baseinfo/insutrgtflag/A0108">
  1092. <label ref="cdnm"/>
  1093. <value ref="cdid"/>
  1094. </itemset>
  1095. </choices>
  1096. </select1>
  1097. <select1 id="cmb_insuflag" ref="/root/main/info/rsrvacptinfo/item/insuflag" class="combo_default" appearance="minimal" style="left:587px; top:264px; width:95px; height:19px; ">
  1098. <choices>
  1099. <itemset nodeset="/root/init/baseinfo/insuflag/A0109">
  1100. <label ref="cdnm"/>
  1101. <value ref="cdid"/>
  1102. </itemset>
  1103. </choices>
  1104. </select1>
  1105. <select1 id="rdo_freecncrtrgtyn" ref="/root/main/info/rsrvacptinfo/item/freecncrtrgtyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:416px; top:290px; width:102px; height:20px; border-style:none; ">
  1106. <choices>
  1107. <item>
  1108. <label>대상</label>
  1109. <value>Y</value>
  1110. </item>
  1111. <item>
  1112. <label>비대상</label>
  1113. <value>N</value>
  1114. </item>
  1115. </choices>
  1116. <script type="javascript" ev:event="xforms-select">
  1117. <![CDATA[
  1118. fSetCncrCtrl();
  1119. ]]>
  1120. </script>
  1121. </select1>
  1122. <select1 id="rdo_plceflag" ref="/root/main/info/rsrvacptinfo/item/plceflag" overflow="visible" appearance="full" cols="2" rows="1" style="left:913px; top:264px; width:100px; height:20px; border-style:none; ">
  1123. <choices>
  1124. <itemset nodeset="/root/init/baseinfo/plceflag/A0110">
  1125. <label ref="cdnm"/>
  1126. <value ref="cdid"/>
  1127. </itemset>
  1128. </choices>
  1129. </select1>
  1130. <select1 id="rdo_oraltestyn" ref="/root/main/info/rsrvacptinfo/item/oraltestyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:1074px; top:263px; width:115px; height:20px; border-style:none; ">
  1131. <choices>
  1132. <item>
  1133. <label>대상</label>
  1134. <value>Y</value>
  1135. </item>
  1136. <item>
  1137. <label>비대상</label>
  1138. <value>N</value>
  1139. </item>
  1140. </choices>
  1141. </select1>
  1142. <caption id="caption61" class="cell_1" style="left:310px; top:262px; width:55px; height:23px; vertical-align:middle; ">직역구분</caption>
  1143. <caption id="caption62" class="cell_1" style="left:521px; top:262px; width:63px; height:23px; vertical-align:middle; ">대상구분</caption>
  1144. <line id="line30" class="line_2" style="x1:310px; y1:260px; x2:1185px; y2:260px; "/>
  1145. <caption id="caption63" class="cell_1" style="left:855px; top:287px; width:55px; height:23px; vertical-align:middle; ">간암검사</caption>
  1146. <select1 id="rdo_scndhptstrgtyn" ref="/root/main/info/rsrvacptinfo/item/scndhptstrgtyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:1074px; top:289px; width:115px; height:20px; border-style:none; ">
  1147. <choices>
  1148. <item>
  1149. <label>대상</label>
  1150. <value>Y</value>
  1151. </item>
  1152. <item>
  1153. <label>비대상</label>
  1154. <value>N</value>
  1155. </item>
  1156. </choices>
  1157. </select1>
  1158. <select1 id="cmb_jobkindflag" ref="/root/main/info/rsrvacptinfo/item/jobkindflag" class="combo_default" appearance="minimal" style="left:913px; top:313px; width:100px; height:19px; ">
  1159. <choices>
  1160. <itemset nodeset="/root/init/baseinfo/jobkindflag/A0112">
  1161. <label ref="cdnm"/>
  1162. <value ref="cdid"/>
  1163. </itemset>
  1164. </choices>
  1165. </select1>
  1166. <input id="ipt_entcodd" ref="/root/main/info/rsrvacptinfo/item/entcodd" class="input_default" inputtype="date" style="left:1074px; top:313px; width:115px; height:19px; "/>
  1167. <line id="line31" class="line_2" style="x1:310px; y1:310px; x2:1190px; y2:310px; "/>
  1168. <caption id="caption64" class="cell_1" style="left:1016px; top:337px; width:55px; height:23px; vertical-align:middle; ">사번</caption>
  1169. <button id="btn_selpkg" class="btn2_letter3" style="left:889px; top:441px; width:53px; height:19px; ">
  1170. <caption>패키지</caption>
  1171. <script type="javascript" ev:event="DOMActivate">
  1172. <![CDATA[
  1173. btn_pkglst.selected = true;
  1174. model.toggle("case_pkg");
  1175. fGetPkgCd("SMAHA01500", "P", "Y","nm" ,"", cmb_healexamdetlflag.value, opt_sex.value ,"/root/temp/templst","Y");
  1176. fSetAddList(grd_pkglst, 2, "/root/temp/templst/list", "Y","Y");
  1177. ]]>
  1178. </script>
  1179. </button>
  1180. <button id="btn_add" class="btn2_letter3" style="left:1079px; top:441px; width:53px; height:19px; ">
  1181. <caption>행추가</caption>
  1182. <script type="javascript" ev:event="DOMActivate">
  1183. <![CDATA[
  1184. fOperGrdRow(true);
  1185. ]]>
  1186. </script>
  1187. </button>
  1188. <button id="btn_del" class="btn2_letter3" style="left:1135px; top:441px; width:53px; height:19px; ">
  1189. <caption>행삭제</caption>
  1190. <script type="javascript" ev:event="DOMActivate">
  1191. <![CDATA[
  1192. fOperGrdRow(false);
  1193. ]]>
  1194. </script>
  1195. </button>
  1196. <switch id="swt_info" style="left:310px; top:464px; width:880px; height:223px; border-color:#c7a3cf; border-style:solid; ">
  1197. <case id="case_pkg" selected="true" style="left:0px; top:0px; width:880px; height:223px; ">
  1198. <datagrid id="grd_pkglst" nodeset="/root/main/info/rsrvacptinfo/pkglst" caption="선택^패키지코드^명칭^예약일자^접수일자^접수시간^청구방법^가격^최종수정자^최종수정일시^수가코드" colsep="^" colwidth="31, 68, 242, 100, 100, 85, 70, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:30px; width:868px; height:185px; ">
  1199. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1200. <col imemode="hangul" ref="pkgcd" type="input"/>
  1201. <col ref="pkgnm"/>
  1202. <col ref="rsrvdd"/>
  1203. <col ref="acptdd"/>
  1204. <col ref="acpttm"/>
  1205. <col ref="uncocd" type="combo">
  1206. <choices>
  1207. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1208. <label ref="nm"/>
  1209. <value ref="cd"/>
  1210. </itemset>
  1211. </choices>
  1212. </col>
  1213. <col ref="scoreamt" format="#,###" style="text-align:right; "/>
  1214. <col ref="lastupdtrid"/>
  1215. <col ref="lastupdtdt"/>
  1216. <col ref="calcscorcd"/>
  1217. <script type="javascript" ev:event="onendedit">
  1218. <![CDATA[
  1219. fAddSingleTestCd();
  1220. ]]>
  1221. </script>
  1222. <script type="javascript" ev:event="onbuttonclick">
  1223. <![CDATA[
  1224. if( grd_pkglst.col == 2) {
  1225. fAddSingleTestCd();
  1226. }
  1227. ]]>
  1228. </script>
  1229. </datagrid>
  1230. <input id="ipt_pkgcd" ref="/root/main/info/rsrvacptinfo/item/pkgcd" class="input_essential" imemode="hangul" style="left:91px; top:5px; width:85px; height:19px; ">
  1231. <script type="javascript" ev:event="onkeyup">
  1232. <![CDATA[
  1233. inputEnterKey("btn_selsnglpkg", "DOMActivate");
  1234. ]]>
  1235. </script>
  1236. </input>
  1237. <button id="btn_selsnglpkg" class="icon_search" style="left:181px; top:6px; width:16px; height:16px; ">
  1238. <caption/>
  1239. <script type="javascript" ev:event="DOMActivate">
  1240. <![CDATA[
  1241. if( !fCheckPatInfo() ) return ;
  1242. var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1243. var old_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
  1244. var old_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
  1245. var cmpy_flag = model.getValue("/root/main/info/rsrvacptinfo/item/cmpyflag");
  1246. if( (cmpy_flag == "") || (cmpy_flag == "N" )) {
  1247. if( old_cmpycd != "" ) cmpy_flag = "Y";
  1248. else cmpy_flag = "N";
  1249. }
  1250. if( cmpy_flag == "Y" ){
  1251. fGetPkgCd("SMAHA00100", "C", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item" );
  1252. fGetCmpyDetlCdList(model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd"));
  1253. }
  1254. else {
  1255. fGetPkgCd("SMAHA00100", "P", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item");
  1256. }
  1257. var cur_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1258. var cur_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
  1259. var cur_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
  1260. if( (cur_cmpycd != "") && (cur_conseq != "") ) {
  1261. cmpy_flag = "Y";
  1262. }
  1263. if( cmpy_flag != "Y" ) {
  1264. if( old_pkgcd == cur_pkgcd ) return;
  1265. }
  1266. else{
  1267. if( (old_cmpycd==cur_cmpycd) && ( old_conseq == cur_conseq) ) return ;
  1268. }
  1269. var cur_pkgnm = opt_pkgnm.value;
  1270. fGetConAddList(cur_pkgcd, cur_pkgnm, opt_sex.value, cur_cmpycd, cur_conseq);
  1271. model.setValue("main/info/rsrvacptinfo/item/cmpyflag", cmpy_flag)
  1272. grd_addlst.refresh();
  1273. // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_subtotamt, opt_pkgamt, opt_addamt );
  1274. ]]>
  1275. </script>
  1276. </button>
  1277. <output id="opt_pkgnm" ref="/root/main/info/rsrvacptinfo/item/pkgnm" class="output_fix" style="left:201px; top:5px; width:669px; height:19px; "/>
  1278. <caption id="cap_pkgcd" class="cell_1" style="left:6px; top:3px; width:83px; height:23px; vertical-align:middle; ">패키지</caption>
  1279. <line id="line11" class="line_2" style="x1:5px; y1:26px; x2:873px; y2:26px; "/>
  1280. <line id="line14" class="line_2" style="x1:5px; y1:3px; x2:873px; y2:3px; "/>
  1281. </case>
  1282. <case id="case_add">
  1283. <datagrid id="grd_oldaddlst" nodeset="/root/main/info/rsrvacptinfo/addlst" visibility="hidden" caption="선택^검사구분^검사코드^명칭^예약일자^예약시간^접수일자^접수시간^구분^진행^수가^최종수정자^최종수정일시" colsep="^" colwidth="31, 53, 83, 242, 100, 73, 100, 85, 70, 33, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:6px; top:120px; width:469px; height:95px; ">
  1284. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1285. <col ref="pkgflag" type="combo">
  1286. <choices>
  1287. <item>
  1288. <label>A</label>
  1289. <value>A</value>
  1290. </item>
  1291. <item>
  1292. <label>S</label>
  1293. <value>S</value>
  1294. </item>
  1295. </choices>
  1296. </col>
  1297. <col ref="testcd" type="inputbutton"/>
  1298. <col ref="testnm"/>
  1299. <col ref="hopedd"/>
  1300. <col ref="rsrvtm"/>
  1301. <col ref="acptdd"/>
  1302. <col ref="acpttm"/>
  1303. <col ref="uncocd" type="combo">
  1304. <choices>
  1305. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1306. <label ref="nm"/>
  1307. <value ref="cd"/>
  1308. </itemset>
  1309. </choices>
  1310. </col>
  1311. <col ref="statflag"/>
  1312. <col ref="calcscoramt"/>
  1313. <col ref="lastupdtrid"/>
  1314. <col ref="lastupdtdt"/>
  1315. </datagrid>
  1316. <datagrid id="grd_addlst" nodeset="/root/main/info/rsrvacptinfo/addlst" caption="선택^검사구분^검사코드^검사명^청구방법^가격^횟수^단체할인액^examseq^수가코드^prcpno^prcpdd^m^grupflag" colsep="^" colwidth="33, 58, 100, 250, 87, 78, 66, 85, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:5px; width:870px; height:210px; ">
  1317. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1318. <col ref="testflag" type="combo">
  1319. <choices>
  1320. <itemset nodeset="/root/init/baseinfo/testflag/A0117">
  1321. <label ref="cdnm"/>
  1322. <value ref="cdid"/>
  1323. </itemset>
  1324. </choices>
  1325. </col>
  1326. <col ref="testcd" type="inputbutton"/>
  1327. <col ref="testnm"/>
  1328. <col ref="uncocd" type="combo">
  1329. <choices>
  1330. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1331. <label ref="nm"/>
  1332. <value ref="cd"/>
  1333. </itemset>
  1334. </choices>
  1335. </col>
  1336. <col ref="scoreamt" visibility="visible" format="#,###" style="text-align:right; "/>
  1337. <col ref="prcptims" type="input"/>
  1338. <col ref="cmpydiscamt" visibility="visible" format="#,###" style="text-align:right; "/>
  1339. <col ref="examseq" visibility="hidden"/>
  1340. <col ref="calcscorcd"/>
  1341. <col ref="prcpno"/>
  1342. <col ref="prcpdd"/>
  1343. <col ref="m"/>
  1344. <col ref="grupflag"/>
  1345. <script type="javascript" ev:event="onendedit">
  1346. <![CDATA[
  1347. if( (grd_addlst.col == 3 ) && (event.keyCode == 13 ) && (model.getValue(grd_addlst.nodeset + "[" + grd_addlst.row + "]/examseq" ) == "") ){
  1348. //fSelPkgAdd("A" , );
  1349. fGetPkgCd("SMAHA00100", "A", "N","nm" , grd_addlst.labelMatrix( grd_addlst.row , 3) , cmb_healexamdetlflag.value, opt_sex.value ,grd_addlst.nodeset + "[" + grd_addlst.row + "]");
  1350. grd_addlst.refresh();
  1351. }
  1352. ]]>
  1353. </script>
  1354. <script type="javascript" ev:event="onbuttonclick">
  1355. <![CDATA[
  1356. if( (grd_addlst.col == 3 ) && (model.getValue(grd_addlst.nodeset + "[" + grd_addlst.row + "]/examseq" ) == "") ){
  1357. //fGetPkgCd("SMAHA00100", "A", "Y","nm" , grd_addlst.labelMatrix( grd_addlst.row , 3) , cmb_healexamdetlflag.value, opt_sex.value );
  1358. fGetPkgCd("SMAHA00100", "A", "N","nm" , grd_addlst.labelMatrix( grd_addlst.row , 3) , cmb_healexamdetlflag.value, opt_sex.value ,grd_addlst.nodeset + "[" + grd_addlst.row + "]");
  1359. grd_addlst.refresh();
  1360. }
  1361. ]]>
  1362. </script>
  1363. </datagrid>
  1364. </case>
  1365. <case id="case_cur">
  1366. <datagrid id="grd_curlst" nodeset="/root/main/info/curlst/ordinfo/ordlst" caption="예약일자^예약시간^접수일자^건진코드^명칭^구분^상태" colsep="^" colwidth="78, 76, 100, 99, 287, 85, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:6px; top:5px; width:863px; height:210px; ">
  1367. <col ref="rsrvdd" format="yyyy-mm-dd"/>
  1368. <col ref="rsrvtm" format="hh:nn:ss"/>
  1369. <col ref="prcpdd" format="yyyy-mm-dd"/>
  1370. <col ref="testcd"/>
  1371. <col ref="testnm"/>
  1372. <col ref="testflag" type="combo">
  1373. <choices>
  1374. <itemset nodeset="/root/init/baseinfo/testflag/A0117">
  1375. <label ref="cdnm"/>
  1376. <value ref="cdid"/>
  1377. </itemset>
  1378. </choices>
  1379. </col>
  1380. <col disabled="true" ref="rcptstat" type="combo">
  1381. <choices>
  1382. <itemset nodeset="/root/init/baseinfo/ordstatlst/M0011">
  1383. <label ref="cdnm"/>
  1384. <value ref="cdid"/>
  1385. </itemset>
  1386. </choices>
  1387. </col>
  1388. </datagrid>
  1389. </case>
  1390. <case id="case_hist">
  1391. <datagrid id="grd_hist" nodeset="/root/main/info/histlst/item" caption="일자^건진코드^명칭^단체구분^rsrvdd^rsrvno^최종수정자^최종수정일시" colsep="^" colwidth="79, 79, 411, 54, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:870px; height:210px; ">
  1392. <col ref="orddd"/>
  1393. <col ref="pkgcd"/>
  1394. <col ref="pkgnm"/>
  1395. <col checkvalue="Y,N" disabled="true" ref="cmpyflag" type="checkbox"/>
  1396. <col ref="rsrvdd" visibility="hidden"/>
  1397. <col ref="rsrvno" visibility="hidden"/>
  1398. <col ref="lastupdtrid"/>
  1399. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  1400. <script type="javascript" ev:event="ondblclick">
  1401. <![CDATA[
  1402. ahafGetRsrvAcptDetl(6);
  1403. ]]>
  1404. </script>
  1405. </datagrid>
  1406. </case>
  1407. <case id="case_rslt">
  1408. <textarea id="tar_firstrslt" scroll="vertical" style="left:5px; top:6px; width:868px; height:210px; "/>
  1409. </case>
  1410. <case id="case_test">
  1411. <datagrid id="datagrid8" nodeset="/root/main/info/curlst/ordinfo/ordlst" caption="건진코드^명칭^수가" colsep="^" colwidth="93, 280, 94" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:6px; top:5px; width:863px; height:210px; ">
  1412. <col ref="testcd"/>
  1413. <col ref="testnm"/>
  1414. <col ref="scoreamt" format="#,###" style="text-align:right; "/>
  1415. </datagrid>
  1416. </case>
  1417. </switch>
  1418. <button id="btn_addlst" class="btn_sw" group="tab" style="left:394px; top:443px; width:99px; height:22px; ">
  1419. <caption>추가/선택검사</caption>
  1420. <toggle case="case_add" ev:event="onclick"/>
  1421. </button>
  1422. <button id="btn_curlst" class="btn_sw" group="tab" style="left:493px; top:443px; width:74px; height:22px; ">
  1423. <caption>현황조회</caption>
  1424. <script type="javascript" ev:event="DOMActivate">
  1425. <![CDATA[
  1426. fGetOrdInfo();
  1427. model.toggle("case_cur" );
  1428. ]]>
  1429. </script>
  1430. </button>
  1431. <button id="btn_histlst" class="btn_sw" group="tab" style="left:567px; top:443px; width:74px; height:22px; ">
  1432. <caption>건진이력</caption>
  1433. <script type="javascript" ev:event="DOMActivate">
  1434. <![CDATA[
  1435. model.toggle("case_hist" );
  1436. ahafGetHistList(ipt_pid.value);
  1437. ]]>
  1438. </script>
  1439. </button>
  1440. <button id="btn_pkglst" class="btn_sw" group="tab" style="left:310px; top:443px; width:84px; height:22px; ">
  1441. <caption>선택패키지</caption>
  1442. <toggle case="case_pkg" ev:event="onclick"/>
  1443. </button>
  1444. <button id="btn_rslt" class="btn_sw" group="tab" style="left:641px; top:443px; width:79px; height:22px; ">
  1445. <caption>1차판정결과</caption>
  1446. <toggle case="case_rslt" ev:event="onclick"/>
  1447. </button>
  1448. <button id="btn_test" class="btn_sw" group="tab" style="left:720px; top:443px; width:64px; height:22px; ">
  1449. <caption>처방내역</caption>
  1450. <script type="javascript" ev:event="DOMActivate">
  1451. <![CDATA[
  1452. fGetOrdInfo();
  1453. model.toggle("case_test");
  1454. ]]>
  1455. </script>
  1456. </button>
  1457. <button id="btn_seladd" class="btn2_letter4" style="left:945px; top:441px; width:64px; height:19px; ">
  1458. <caption>추가검사</caption>
  1459. <script type="javascript" ev:event="DOMActivate">
  1460. <![CDATA[
  1461. btn_addlst.selected = true;
  1462. model.toggle("case_add");
  1463. fGetPkgCd("SMAHA01500", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value , "/root/temp/templst","Y");
  1464. fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y", "N");
  1465. ]]>
  1466. </script>
  1467. </button>
  1468. <button id="btn_selspcl" class="btn2_letter4" style="left:1012px; top:441px; width:64px; height:19px; ">
  1469. <caption>유해인자</caption>
  1470. </button>
  1471. <caption id="caption7" class="cell_1" style="left:854px; top:77px; width:67px; height:23px; vertical-align:middle; ">공단기록지</caption>
  1472. <caption id="caption15" class="cell_1" style="left:1016px; top:261px; width:55px; height:23px; vertical-align:middle; ">구강검사</caption>
  1473. <caption id="caption31" class="cell_1" style="left:1016px; top:181px; width:55px; height:23px; vertical-align:middle; ">휴대폰</caption>
  1474. <caption id="caption27" class="cell_1" style="left:1016px; top:206px; width:55px; height:23px; vertical-align:middle; ">출생지</caption>
  1475. <caption id="caption10" class="cell_1" style="left:855px; top:206px; width:55px; height:23px; vertical-align:middle; ">여권번호</caption>
  1476. <caption id="caption38" class="cell_1" style="left:511px; top:131px; width:73px; height:23px; vertical-align:middle; ">성명(한)</caption>
  1477. <caption id="caption39" class="cell_1" style="left:310px; top:386px; width:55px; height:23px; vertical-align:middle; ">청구방법</caption>
  1478. <input id="ipt_healcntrcd" ref="/root/main/info/rsrvacptinfo/item/healcntrcd" class="input_default" imemode="hangul" style="left:643px; top:363px; width:82px; height:19px; ">
  1479. <script type="javascript" ev:event="onkeyup">
  1480. <![CDATA[
  1481. if( event.keyCode == 13 ){
  1482. if( ipt_healcntrcd.currentText == "" ) return ;
  1483. var sCond = ipt_healcntrcd.currentText;
  1484. var ret = ahafGetCmpyInfo( "05", sCond , "N" ,ipt_healcntrcd.attribute("ref"), opt_healcntrnm.attribute("ref") , "");
  1485. if( !ret ) {
  1486. fGetComnCd("SMAHA01500", "05" , "nm", sCond ,ipt_healcntrcd.attribute("ref"), opt_healcntrnm.attribute("ref"));
  1487. }
  1488. }
  1489. ]]>
  1490. </script>
  1491. </input>
  1492. <button id="btn_selhealcntrcd" class="icon_search" style="left:731px; top:364px; width:16px; height:16px; ">
  1493. <caption/>
  1494. <script type="javascript" ev:event="DOMActivate">
  1495. <![CDATA[
  1496. fGetComnCd("SMAHA01500", "05" , "nm", ipt_healcntrcd.currentText ,ipt_healcntrcd.attribute("ref"), opt_healcntrnm.attribute("ref"));
  1497. ]]>
  1498. </script>
  1499. </button>
  1500. <output id="opt_healcntrnm" ref="/root/main/info/rsrvacptinfo/item/healcntrnm" class="output_fix" style="left:753px; top:363px; width:100px; height:19px; "/>
  1501. <input id="ipt_clntempid" ref="/root/main/info/rsrvacptinfo/item/clntempid" class="input_default" style="left:1074px; top:340px; width:115px; height:19px; ">
  1502. <script type="javascript" ev:event="onkeyup">
  1503. <![CDATA[
  1504. fMoveFocus("cmb_uncocd");
  1505. ]]>
  1506. </script>
  1507. </input>
  1508. <select1 id="cmb_uncocd" ref="/root/main/info/rsrvacptinfo/item/pkguncocd" class="combo_default" appearance="minimal" style="left:368px; top:387px; width:150px; height:19px; ">
  1509. <choices>
  1510. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1511. <label ref="nm"/>
  1512. <value ref="cd"/>
  1513. </itemset>
  1514. </choices>
  1515. </select1>
  1516. <select1 id="cmb_bizoffccd" ref="/root/main/info/rsrvacptinfo/item/bizoffccd" class="combo_default" appearance="minimal" style="left:644px; top:339px; width:208px; height:19px; ">
  1517. <choices>
  1518. <itemset nodeset="/root/init/baseinfo/cmpydetlcdlst/offclst">
  1519. <label ref="nm"/>
  1520. <value ref="cd"/>
  1521. </itemset>
  1522. </choices>
  1523. </select1>
  1524. <select1 id="cmb_spclhealexamflag" ref="/root/main/info/rsrvacptinfo/item/spclhealexamflag" class="combo_default" appearance="minimal" style="left:912px; top:363px; width:276px; height:19px; ">
  1525. <choices>
  1526. <itemset nodeset="/root/init/baseinfo/spclhealexamflag/A0111">
  1527. <label ref="cdnm"/>
  1528. <value ref="cdid"/>
  1529. </itemset>
  1530. </choices>
  1531. </select1>
  1532. <input id="ipt_schlgrde" ref="/root/main/info/rsrvacptinfo/item/schlgrde" class="input_default" style="left:913px; top:387px; width:100px; height:19px; ">
  1533. <script type="javascript" ev:event="onkeyup">
  1534. <![CDATA[
  1535. fMoveFocus("ipt_clsid");
  1536. ]]>
  1537. </script>
  1538. </input>
  1539. <input id="ipt_clsid" ref="/root/main/info/rsrvacptinfo/item/clsid" class="input_default" style="left:1074px; top:387px; width:53px; height:19px; ">
  1540. <script type="javascript" ev:event="onkeyup">
  1541. <![CDATA[
  1542. fMoveFocus("ipt_studid");
  1543. ]]>
  1544. </script>
  1545. </input>
  1546. <input id="ipt_studid" ref="/root/main/info/rsrvacptinfo/item/studid" class="input_default" style="left:1128px; top:387px; width:61px; height:19px; ">
  1547. <script type="javascript" ev:event="onkeyup">
  1548. <![CDATA[
  1549. fMoveFocus("tar_remcnts");
  1550. ]]>
  1551. </script>
  1552. </input>
  1553. <textarea id="tar_remcnts" ref="/root/main/info/rsrvacptinfo/item/remcnts" scroll="vertical" style="left:368px; top:692px; width:321px; height:44px; "/>
  1554. <button id="btn_acptlst" class="btn_sw" group="tab" selected="true" style="left:0px; top:54px; width:60px; height:22px; ">
  1555. <caption>접수</caption>
  1556. <script type="javascript" ev:event="DOMActivate">
  1557. <![CDATA[
  1558. model.toggle("case_acpt");
  1559. fGetList();
  1560. ]]>
  1561. </script>
  1562. </button>
  1563. <button id="btn_rsrvlst" class="btn_sw" group="tab" style="left:119px; top:54px; width:60px; height:22px; ">
  1564. <caption>예약</caption>
  1565. <script type="javascript" ev:event="DOMActivate">
  1566. <![CDATA[
  1567. model.toggle("case_rsrv");
  1568. fGetList();
  1569. ]]>
  1570. </script>
  1571. </button>
  1572. <button id="btn_sndlst" class="btn_sw" group="tab" style="left:178px; top:54px; width:77px; height:22px; ">
  1573. <caption>2차대상자</caption>
  1574. <script type="javascript" ev:event="DOMActivate">
  1575. <![CDATA[
  1576. model.toggle("case_snd");
  1577. fGetList();
  1578. ]]>
  1579. </script>
  1580. </button>
  1581. <button id="btn_cncllst" class="btn_sw" group="tab" style="left:59px; top:54px; width:60px; height:22px; ">
  1582. <caption>취소</caption>
  1583. <script type="javascript" ev:event="DOMActivate">
  1584. <![CDATA[
  1585. model.toggle("case_cncl");
  1586. fGetList();
  1587. ]]>
  1588. </script>
  1589. </button>
  1590. <caption id="caption9" class="cell_1" style="left:855px; top:181px; width:55px; height:23px; vertical-align:middle; ">연락처</caption>
  1591. <caption id="caption11" class="cell_1" style="left:511px; top:157px; width:73px; height:23px; vertical-align:middle; ">생년월일</caption>
  1592. <line id="line1" class="line_2" style="x1:310px; y1:179px; x2:1190px; y2:179px; "/>
  1593. <line id="line2" class="line_2" style="x1:310px; y1:204px; x2:1190px; y2:204px; "/>
  1594. <caption id="caption17" class="tit_2" style="left:315px; top:418px; width:144px; height:13px; ">건진 정보</caption>
  1595. <line id="line5" class="line_1" style="x1:310px; y1:433px; x2:1190px; y2:433px; "/>
  1596. <caption id="caption18" class="tit_2" style="left:310px; top:242px; width:144px; height:13px; ">추가 정보</caption>
  1597. <line id="line7" class="line_1" style="x1:310px; y1:257px; x2:1190px; y2:257px; "/>
  1598. <caption id="caption71" class="tit_2" style="left:315px; top:111px; width:94px; height:13px; ">건진자 정보</caption>
  1599. <line id="line37" class="line_1" style="x1:310px; y1:126px; x2:1190px; y2:126px; "/>
  1600. <caption id="caption4" class="cell_1" style="left:310px; top:131px; width:55px; height:23px; vertical-align:middle; ">주민번호</caption>
  1601. <caption id="caption8" class="cell_1" style="left:310px; top:157px; width:55px; height:23px; vertical-align:middle; ">증번호</caption>
  1602. <line id="line3" class="line_2" style="x1:310px; y1:154px; x2:1190px; y2:154px; "/>
  1603. <line id="line4" class="line_2" style="x1:310px; y1:688px; x2:1190px; y2:688px; "/>
  1604. <caption id="caption12" class="cell_1" style="left:310px; top:181px; width:55px; height:48px; vertical-align:middle; ">주소</caption>
  1605. <caption id="caption41" class="cell_1" style="left:855px; top:157px; width:55px; height:23px; vertical-align:middle; ">E-mail</caption>
  1606. <select1 id="cmb_stmccncrflag" ref="/root/main/info/rsrvacptinfo/item/stmccncrflag" class="combo_essential" appearance="minimal" style="left:588px; top:289px; width:94px; height:19px; ">
  1607. <choices>
  1608. <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
  1609. <label ref="nm"/>
  1610. <value ref="cd"/>
  1611. </itemset>
  1612. </choices>
  1613. </select1>
  1614. <select id="chx_stmccncryn" ref="/root/main/info/rsrvacptinfo/item/stmccncryn" overflow="visible" appearance="full" cols="1" style="left:521px; top:290px; width:63px; height:20px; border-style:none; ">
  1615. <choices>
  1616. <item>
  1617. <label>위</label>
  1618. <value>Y</value>
  1619. </item>
  1620. </choices>
  1621. <script type="javascript" ev:event="xforms-select">
  1622. <![CDATA[
  1623. fCheckFreeCncrTrgt(1);
  1624. ]]>
  1625. </script>
  1626. </select>
  1627. <select id="chx_largeintescncryn" ref="/root/main/info/rsrvacptinfo/item/largeintescncryn" overflow="visible" appearance="full" cols="1" style="left:685px; top:290px; width:70px; height:20px; border-style:none; ">
  1628. <choices>
  1629. <item>
  1630. <label>대장</label>
  1631. <value>Y</value>
  1632. </item>
  1633. </choices>
  1634. <script type="javascript" ev:event="xforms-select">
  1635. <![CDATA[
  1636. fCheckFreeCncrTrgt(2);
  1637. ]]>
  1638. </script>
  1639. </select>
  1640. <select id="chx_livcncrtrgtyn" ref="/root/main/info/rsrvacptinfo/item/livcncrtrgtyn2" overflow="visible" appearance="full" cols="1" style="left:368px; top:316px; width:43px; height:18px; border-style:none; ">
  1641. <choices>
  1642. <item>
  1643. <label>간</label>
  1644. <value>Y</value>
  1645. </item>
  1646. </choices>
  1647. <script type="javascript" ev:event="xforms-select">
  1648. <![CDATA[
  1649. fCheckFreeCncrTrgt();
  1650. ]]>
  1651. </script>
  1652. </select>
  1653. <select id="chx_mamcncryn" ref="/root/main/info/rsrvacptinfo/item/mamcncryn" overflow="visible" appearance="full" cols="1" style="left:521px; top:314px; width:63px; height:20px; border-style:none; ">
  1654. <choices>
  1655. <item>
  1656. <label>유방</label>
  1657. <value>Y</value>
  1658. </item>
  1659. </choices>
  1660. <script type="javascript" ev:event="xforms-select">
  1661. <![CDATA[
  1662. fCheckFreeCncrTrgt(3);
  1663. ]]>
  1664. </script>
  1665. </select>
  1666. <select id="chx_cervcncryn" ref="/root/main/info/rsrvacptinfo/item/cervcncryn" overflow="visible" appearance="full" cols="1" style="left:685px; top:314px; width:70px; height:20px; border-style:none; ">
  1667. <choices>
  1668. <item>
  1669. <label>자궁경부</label>
  1670. <value>Y</value>
  1671. </item>
  1672. </choices>
  1673. <script type="javascript" ev:event="xforms-select">
  1674. <![CDATA[
  1675. fCheckFreeCncrTrgt(4);
  1676. ]]>
  1677. </script>
  1678. </select>
  1679. <input id="ipt_cmpycd" ref="/root/main/info/rsrvacptinfo/item/cmpycd" class="input_default" style="left:368px; top:339px; width:82px; height:19px; ">
  1680. <script type="javascript" ev:event="onkeyup">
  1681. <![CDATA[
  1682. if( event.keyCode == 13 ){
  1683. if( ipt_cmpycd.currentText == "" ) return ;
  1684. var sCond = ipt_cmpycd.currentText ;
  1685. var ret = ahafGetCmpyInfo( "08", sCond , "N" ,ipt_cmpycd.attribute("ref"), opt_cmpynm.attribute("ref") , "");
  1686. if( ret ){
  1687. fGetCmpyDetlCdList();
  1688. }
  1689. else {
  1690. fGetComnCd("SMAHA01500", "08" , "nm", sCond ,ipt_cmpycd.attribute("ref"), opt_cmpynm.attribute("ref"));
  1691. fGetCmpyDetlCdList();
  1692. }
  1693. }
  1694. ]]>
  1695. </script>
  1696. </input>
  1697. <button id="btn_selcmpycd" class="icon_search" style="left:456px; top:340px; width:16px; height:16px; ">
  1698. <caption/>
  1699. <script type="javascript" ev:event="DOMActivate">
  1700. <![CDATA[
  1701. fGetComnCd("SMAHA01500", "08" , "nm", ipt_cmpycd.currentText ,ipt_cmpycd.attribute("ref"), opt_cmpynm.attribute("ref"));
  1702. fGetCmpyDetlCdList();
  1703. ]]>
  1704. </script>
  1705. </button>
  1706. <output id="opt_cmpynm" ref="/root/main/info/rsrvacptinfo/item/cmpynm" class="output_fix" style="left:478px; top:339px; width:105px; height:19px; "/>
  1707. <caption id="caption20" class="cell_1" style="left:310px; top:337px; width:55px; height:23px; vertical-align:middle; ">사업장</caption>
  1708. <caption id="caption43" class="cell_1" style="left:310px; top:287px; width:55px; height:48px; vertical-align:middle; ">암구분</caption>
  1709. <caption id="caption21" class="cell_1" style="left:310px; top:362px; width:55px; height:23px; vertical-align:middle; ">관할지사</caption>
  1710. <select1 id="cmb_cervcncrflag" ref="/root/main/info/rsrvacptinfo/item/cervcncrflag" class="combo_essential" appearance="minimal" style="left:757px; top:313px; width:95px; height:19px; ">
  1711. <choices>
  1712. <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
  1713. <label ref="nm"/>
  1714. <value ref="cd"/>
  1715. </itemset>
  1716. </choices>
  1717. </select1>
  1718. <select1 id="cmb_largeintescncrflag" ref="/root/main/info/rsrvacptinfo/item/largeintescncrflag" class="combo_essential" appearance="minimal" style="left:757px; top:289px; width:95px; height:19px; ">
  1719. <choices>
  1720. <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
  1721. <label ref="nm"/>
  1722. <value ref="cd"/>
  1723. </itemset>
  1724. </choices>
  1725. </select1>
  1726. <select1 id="cmb_mamcncrflag" ref="/root/main/info/rsrvacptinfo/item/mamcncrflag" class="combo_essential" appearance="minimal" style="left:588px; top:313px; width:94px; height:19px; ">
  1727. <choices>
  1728. <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
  1729. <label ref="nm"/>
  1730. <value ref="cd"/>
  1731. </itemset>
  1732. </choices>
  1733. </select1>
  1734. <select1 id="cmb_livcncrflag" ref="/root/main/info/rsrvacptinfo/item/livcncrflag" class="combo_essential" appearance="minimal" style="left:414px; top:313px; width:94px; height:19px; ">
  1735. <choices>
  1736. <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
  1737. <label ref="nm"/>
  1738. <value ref="cd"/>
  1739. </itemset>
  1740. </choices>
  1741. </select1>
  1742. <caption id="caption19" class="cell_1" style="left:685px; top:131px; width:62px; height:23px; vertical-align:middle; ">성명(영)</caption>
  1743. <output id="opt_cnclcnt" ref="/root/main/list/listinfo/cnclcnt" class="output_fix" style="left:38px; top:718px; width:65px; height:19px; text-align:right; "/>
  1744. <caption id="caption70" class="cell_1" style="left:106px; top:691px; width:35px; height:23px; vertical-align:middle; ">예약</caption>
  1745. <line id="line32" class="line_2" style="x1:0px; y1:714px; x2:305px; y2:714px; "/>
  1746. <caption id="caption44" class="cell_1" style="left:0px; top:691px; width:35px; height:23px; vertical-align:middle; ">접수</caption>
  1747. <caption id="caption87" class="cell_1" style="left:212px; top:691px; width:35px; height:23px; vertical-align:middle; ">수납</caption>
  1748. <caption id="caption88" class="cell_1" style="left:106px; top:716px; width:35px; height:23px; vertical-align:middle; ">보류</caption>
  1749. <output id="opt_rsrvcnt" ref="/root/main/list/listinfo/rsrvcnt" class="output_fix" style="left:144px; top:693px; width:65px; height:19px; text-align:right; "/>
  1750. <caption id="caption89" class="cell_1" style="left:0px; top:716px; width:35px; height:23px; vertical-align:middle; ">취소</caption>
  1751. <output id="opt_rcptcnt" ref="/root/main/list/listinfo/rcptcnt" class="output_fix" style="left:250px; top:693px; width:55px; height:19px; text-align:right; "/>
  1752. <output id="opt_holdcnt" ref="/root/main/list/listinfo/holdcnt" class="output_fix" style="left:144px; top:718px; width:65px; height:19px; text-align:right; "/>
  1753. <line id="line39" class="line_3" style="x1:0px; y1:738px; x2:305px; y2:738px; "/>
  1754. <output id="opt_acptcnt" ref="/root/main/list/listinfo/acptcnt" class="output_fix" style="left:38px; top:693px; width:65px; height:19px; text-align:right; "/>
  1755. <output id="opt_outcnt" ref="/root/main/list/listinfo/outcnt" class="output_fix" style="left:250px; top:718px; width:55px; height:19px; text-align:right; "/>
  1756. <caption id="caption90" class="cell_1" style="left:212px; top:716px; width:35px; height:23px; vertical-align:middle; ">부도</caption>
  1757. <caption id="caption45" class="cell_1" style="left:855px; top:362px; width:55px; height:23px; vertical-align:middle; ">특검구분</caption>
  1758. <caption id="caption23" class="cell_1" style="left:521px; top:386px; width:63px; height:23px; vertical-align:middle; ">할인계정</caption>
  1759. <caption id="caption93" class="search_n_b" style="left:433px; top:135px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1760. <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="input_essential" format="999999" style="left:368px; top:133px; width:62px; height:19px; "/>
  1761. <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="input_essential" format="9999999" style="left:446px; top:133px; width:62px; height:19px; ">
  1762. <script type="javascript" ev:event="xforms-value-changed">
  1763. <![CDATA[
  1764. if( (getStringLength(ipt_rgstno2.currentText) > 6) && (getStringLength(ipt_rgstno1.currentText) > 5) ){
  1765. fInitRsrvAcptInfo();
  1766. //주민번호로 환자 검색
  1767. fSetBrthDD();
  1768. fGetPatInfo(1);
  1769. fGetDetlInfoHid();
  1770. }
  1771. ]]>
  1772. </script>
  1773. <script type="javascript" ev:event="onkeyup">
  1774. <![CDATA[
  1775. if( event.keyCode == 13 ){
  1776. //fGetPatInfo(1);
  1777. //model.setFocus("ipt_pid");
  1778. //주민번호로 환자 검색 like~
  1779. fInitRsrvAcptInfo();
  1780. if( getStringLength(ipt_rgstno2.currentText) < 7 ){
  1781. fSearchPatInfo("SMAHA00100", "rgstno","", "Y", "/root/main/info/patinfo/item", "", "", ipt_rgstno1.currentText , ipt_rgstno2.currentText);
  1782. }
  1783. else {
  1784. if( getStringLength(ipt_rgstno2.currentText) > 6) fGetPatInfo(1);
  1785. }
  1786. fGetDetlInfoHid();
  1787. model.setFocus("ipt_hopedd");
  1788. }
  1789. ]]>
  1790. </script>
  1791. </input>
  1792. <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" class="input_essential" imemode="hangul" style="left:587px; top:132px; width:75px; height:19px; ">
  1793. <script type="javascript" ev:event="onkeyup">
  1794. <![CDATA[
  1795. inputEnterKey("btn_selpat" , "DOMActivate");
  1796. ]]>
  1797. </script>
  1798. </input>
  1799. <button id="btn_selpat" class="icon_search" style="left:666px; top:132px; width:16px; height:16px; ">
  1800. <caption/>
  1801. <script type="javascript" ev:event="DOMActivate">
  1802. <![CDATA[
  1803. fInitRsrvAcptInfo();
  1804. fSearchPatInfo("SMAHA01500", "pnm", ipt_pnm.currentText , "Y", "/root/main/info/patinfo/item");
  1805. fGetDetlInfoHid();
  1806. ]]>
  1807. </script>
  1808. </button>
  1809. <input id="ipt_engnm" ref="/root/main/info/patinfo/item/engnm" class="input_default" imemode="alpha" style="left:750px; top:132px; width:102px; height:19px; ">
  1810. <script type="javascript" ev:event="onkeyup">
  1811. <![CDATA[
  1812. fMoveFocus("ipt_pid");
  1813. ]]>
  1814. </script>
  1815. </input>
  1816. <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_default" style="left:913px; top:132px; width:100px; height:19px; ">
  1817. <script type="javascript" ev:event="onkeyup">
  1818. <![CDATA[
  1819. if( event.keyCode == 13 ){
  1820. fInitRsrvAcptInfo();
  1821. fGetPatInfo(2);
  1822. var tmp = instance1.selectSingleNode("/root/main/info/patinfo/item/pid");
  1823. if( tmp == null ) {
  1824. inputEnterKey("btn_selpid", "DOMActivate");
  1825. }
  1826. else {
  1827. fGetDetlInfoHid();
  1828. }
  1829. }
  1830. ]]>
  1831. </script>
  1832. </input>
  1833. <button id="btn_selpid" class="icon_search" style="left:1016px; top:134px; width:16px; height:16px; ">
  1834. <caption/>
  1835. <script type="javascript" ev:event="DOMActivate">
  1836. <![CDATA[
  1837. fInitRsrvAcptInfo();
  1838. fSearchPatInfo("SMAHA01500", "pid", ipt_pid.currentText , "Y", "/root/main/info/patinfo/item");
  1839. fGetDetlInfoHid();
  1840. ]]>
  1841. </script>
  1842. </button>
  1843. <input id="ipt_insuid" ref="/root/main/info/patinfo/item/patm_insuid" class="input_default" format="9-9999999999" style="left:368px; top:158px; width:76px; height:19px; ">
  1844. <script type="javascript" ev:event="onkeyup">
  1845. <![CDATA[
  1846. fMoveFocus("ipt_brthdd");
  1847. ]]>
  1848. </script>
  1849. <script type="javascript" ev:event="DOMFocusOut">
  1850. <![CDATA[
  1851. fSetInsuTrgtFg();
  1852. ]]>
  1853. </script>
  1854. </input>
  1855. <input id="ipt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="input_default" inputtype="date" style="left:587px; top:158px; width:95px; height:19px; ">
  1856. <script type="javascript" ev:event="onkeyup">
  1857. <![CDATA[
  1858. fMoveFocus("ipt_emailid");
  1859. ]]>
  1860. </script>
  1861. </input>
  1862. <output id="opt_age" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:801px; top:158px; width:51px; height:19px; "/>
  1863. <output id="opt_sex" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:750px; top:158px; width:48px; height:19px; "/>
  1864. <input id="ipt_emailid" ref="/root/main/info/patinfo/item/emailid" class="input_default" imemode="alpha" maxlength="40" style="left:913px; top:158px; width:100px; height:19px; ">
  1865. <script type="javascript" ev:event="onkeyup">
  1866. <![CDATA[
  1867. fMoveFocus("cmb_emailtype");
  1868. ]]>
  1869. </script>
  1870. </input>
  1871. <select1 id="cmb_emailtype" ref="/root/init/emailkind" class="combo_default" appearance="minimal" style="left:1016px; top:158px; width:81px; height:19px; ">
  1872. <choices>
  1873. <itemset nodeset="/root/init/baseinfo/emailkind/A0120">
  1874. <label ref="cdnm"/>
  1875. <value ref="cdid"/>
  1876. </itemset>
  1877. </choices>
  1878. <script type="javascript" ev:event="xforms-select">
  1879. <![CDATA[
  1880. var idx = cmb_emailtype.value;
  1881. if( idx == "01" ) //직접입력
  1882. {
  1883. ipt_emailtype.value = "@";
  1884. model.setFocus("ipt_emailtype");
  1885. }
  1886. else {
  1887. ipt_emailtype.value = cmb_emailtype.label ;
  1888. fMoveFocus("cmb_rsrvflag");
  1889. }
  1890. ]]>
  1891. </script>
  1892. </select1>
  1893. <input id="ipt_emailtype" ref="/root/main/info/patinfo/item/emailtype" class="input_default" imemode="alpha" maxlength="30" style="left:1099px; top:158px; width:90px; height:19px; ">
  1894. <script type="javascript" ev:event="onkeyup">
  1895. <![CDATA[
  1896. fMoveFocus("btn_selzipcd");
  1897. ]]>
  1898. </script>
  1899. </input>
  1900. <caption id="caption46" class="search_n_b" style="left:417px; top:183px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1901. <input id="opt_zipcd1" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:368px; top:183px; width:47px; height:19px; "/>
  1902. <input id="opt_zipcd2" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:431px; top:183px; width:47px; height:19px; "/>
  1903. <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" style="left:510px; top:183px; width:342px; height:19px; ">
  1904. <script type="javascript" ev:event="onkeyup">
  1905. <![CDATA[
  1906. if( event.keyCode == 13 ){
  1907. var srcNode = ahafSetAddr(1, "/root/main/info/patinfo/item" , "combination", opt_addr.currentText );
  1908. opt_addr.value = model.getValue(srcNode + "/addr") ;
  1909. }
  1910. ]]>
  1911. </script>
  1912. </input>
  1913. <button id="btn_selzipcd" class="icon_search" style="left:485px; top:184px; width:16px; height:16px; ">
  1914. <caption/>
  1915. <script type="javascript" ev:event="DOMActivate">
  1916. <![CDATA[
  1917. ahafSetAddr(1, "/root/main/info/patinfo/item");
  1918. ]]>
  1919. </script>
  1920. </button>
  1921. <input id="ipt_detladdr" ref="/root/main/info/patinfo/item/detladdr1" class="input_default" imemode="hangul" maxlength="100" style="left:368px; top:208px; width:417px; height:19px; "/>
  1922. <input id="ipt_telno" ref="/root/main/info/patinfo/item/telno" class="input_default" maxlength="30" style="left:913px; top:184px; width:100px; height:19px; ">
  1923. <script type="javascript" ev:event="onkeyup">
  1924. <![CDATA[
  1925. fMoveFocus("ipt_mpphon");
  1926. ]]>
  1927. </script>
  1928. </input>
  1929. <input id="ipt_mpphon" ref="/root/main/info/patinfo/item/mpphon" class="input_default" maxlength="30" style="left:1074px; top:183px; width:115px; height:19px; ">
  1930. <script type="javascript" ev:event="onkeyup">
  1931. <![CDATA[
  1932. fMoveFocus("ipt_psptno");
  1933. ]]>
  1934. </script>
  1935. </input>
  1936. <input id="ipt_psptno" ref="/root/main/info/patinfo/item/psptno" class="input_default" imemode="alpha" style="left:913px; top:207px; width:100px; height:19px; ">
  1937. <script type="javascript" ev:event="onkeyup">
  1938. <![CDATA[
  1939. fMoveFocus("ipt_brthareacnts");
  1940. ]]>
  1941. </script>
  1942. </input>
  1943. <input id="ipt_brthareacnts" ref="/root/main/info/patinfo/item/brthareacnts" class="input_default" imemode="hangul" style="left:1074px; top:207px; width:115px; height:19px; "/>
  1944. <button id="btn_savepatinfo" class="btn5_letter6" style="left:1105px; top:106px; width:86px; height:19px; ">
  1945. <caption>인적사항저장</caption>
  1946. <script type="javascript" ev:event="DOMActivate">
  1947. <![CDATA[
  1948. if( messageBox("건진자 인적사항을 ", "Q002") == 6 ) {
  1949. fSavePatInfo("N");
  1950. }
  1951. ]]>
  1952. </script>
  1953. </button>
  1954. <select1 id="cmb_healexamdetlflag" ref="/root/main/info/rsrvacptinfo/item/healexamdetlflag" class="combo_default" appearance="minimal" style="left:368px; top:79px; width:140px; height:19px; ">
  1955. <choices>
  1956. <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
  1957. <label ref="cdnm"/>
  1958. <value ref="cdid"/>
  1959. </itemset>
  1960. </choices>
  1961. </select1>
  1962. <input id="ipt_orddd" ref="/root/main/info/rsrvacptinfo/item/orddd" class="input_essential" disabled="true" inputtype="date" style="left:587px; top:79px; width:95px; height:19px; "/>
  1963. <input id="ipt_hopedd" ref="/root/main/info/rsrvacptinfo/item/hopedd" class="input_essential" inputtype="date" style="left:750px; top:79px; width:102px; height:19px; "/>
  1964. <output id="opt_payhealcntramt" ref="/root/main/info/rcptinfo/payhealcntramt" class="output_fix" format="#,###" style="left:774px; top:717px; width:80px; height:19px; text-align:right; "/>
  1965. <caption id="caption48" class="cell_1" style="left:692px; top:715px; width:79px; height:23px; vertical-align:middle; ">보건소부담액</caption>
  1966. <select1 id="cmb_deptcd" ref="/root/main/info/rsrvacptinfo/item/deptcd" class="combo_default" appearance="minimal" style="left:912px; top:340px; width:100px; height:19px; ">
  1967. <choices>
  1968. <itemset nodeset="/root/init/baseinfo/cmpydetlcdlst/deptlst">
  1969. <label ref="nm"/>
  1970. <value ref="cd"/>
  1971. </itemset>
  1972. </choices>
  1973. </select1>
  1974. <select1 id="cmb_disccd" ref="/root/main/info/rsrvacptinfo/item/disccd" class="combo_default" appearance="minimal" itemcount="10" style="left:587px; top:387px; width:265px; height:19px; ">
  1975. <choices>
  1976. <itemset nodeset="/root/init/baseinfo/pamcdlst/disccdlst">
  1977. <label ref="nm"/>
  1978. <value ref="cd"/>
  1979. </itemset>
  1980. </choices>
  1981. </select1>
  1982. <select1 id="rdo_livcncrtrgtyn" ref="/root/main/info/rsrvacptinfo/item/livcncrtrgtyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:913px; top:287px; width:100px; height:20px; border-style:none; ">
  1983. <choices>
  1984. <item>
  1985. <label>대상</label>
  1986. <value>Y</value>
  1987. </item>
  1988. <item>
  1989. <label>비대상</label>
  1990. <value>N</value>
  1991. </item>
  1992. </choices>
  1993. <script type="javascript" ev:event="xforms-select">
  1994. <![CDATA[
  1995. chx_livcncrtrgtyn.value = rdo_livcncrtrgtyn.value;
  1996. ]]>
  1997. </script>
  1998. </select1>
  1999. <button id="btn_ordmgt" class="btn2_letter4" style="left:822px; top:441px; width:64px; height:19px; ">
  2000. <caption>처방관리</caption>
  2001. <script type="javascript" ev:event="DOMActivate">
  2002. <![CDATA[
  2003. setParameter ("SMAHA00700_PARAM1" , model.getValue( cmb_healexamdetlflag.attribute("ref")) );
  2004. setParameter ("SMAHA00700_PARAM2" , model.getValue( ipt_pid.attribute("ref")) );
  2005. modal("SMAHA00700");
  2006. ]]>
  2007. </script>
  2008. </button>
  2009. <button id="btn_sendaddr" class="btn2_letter4" style="left:790px; top:209px; width:64px; height:19px; ">
  2010. <caption>발송주소</caption>
  2011. <script type="javascript" ev:event="DOMActivate">
  2012. <![CDATA[
  2013. grp_addr2.attribute("left") = parseInt( opt_zipcd1.attribute("left"));
  2014. grp_addr2.attribute("top") = parseInt( opt_zipcd1.attribute("top"));
  2015. grp_addr2.visible = true;
  2016. ]]>
  2017. </script>
  2018. </button>
  2019. <group id="grp_addr2" visibility="hidden" style="left:55px; top:195px; width:485px; height:70px; ">
  2020. <caption id="caption47" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">발송주소입력</caption>
  2021. <line id="line15" class="line_1" style="x1:5px; y1:20px; x2:480px; y2:20px; "/>
  2022. <button id="btn_choiclose" class="icon_plus" style="left:467px; top:0px; width:13px; height:15px; ">
  2023. <caption/>
  2024. <script type="javascript" ev:event="DOMActivate">
  2025. <![CDATA[
  2026. grp_addr2.visible = false;
  2027. ]]>
  2028. </script>
  2029. </button>
  2030. <input id="opt_addr2" ref="/root/main/info/patinfo/item/addr2" class="output_fix" style="left:131px; top:25px; width:350px; height:19px; ">
  2031. <script type="javascript" ev:event="onkeyup">
  2032. <![CDATA[
  2033. if( event.keyCode == 13 ){
  2034. var srcNode = ahafSetAddr(2, "/root/main/info/patinfo/item" , "combination", opt_addr2.currentText );
  2035. opt_addr2.value = model.getValue(srcNode + "/addr") ;
  2036. }
  2037. ]]>
  2038. </script>
  2039. </input>
  2040. <button id="btn_searchzipcd2" class="icon_search" style="left:110px; top:26px; width:16px; height:16px; ">
  2041. <caption/>
  2042. <script type="javascript" ev:event="DOMActivate">
  2043. <![CDATA[
  2044. ahafSetAddr(2, "/root/main/info/patinfo/item");
  2045. ]]>
  2046. </script>
  2047. </button>
  2048. <caption id="caption50" class="search_n_b" style="left:49px; top:26px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  2049. <input id="ipt_zipcd21" ref="/root/main/info/patinfo/item/zipcd21" class="output_fix" format="999" style="left:5px; top:25px; width:42px; height:19px; "/>
  2050. <input id="ipt_detladdr2" ref="/root/main/info/patinfo/item/detladdr2" class="input_default" imemode="hangul" maxlength="100" style="left:5px; top:47px; width:475px; height:19px; "/>
  2051. <input id="ipt_zipcd22" ref="/root/main/info/patinfo/item/zipcd22" class="output_fix" format="999" style="left:63px; top:25px; width:42px; height:19px; "/>
  2052. <line id="line20" class="line_2" style="x1:5px; y1:45px; x2:480px; y2:45px; "/>
  2053. </group>
  2054. <select1 id="rdo_cmpyflag" ref="/root/main/info/rsrvacptinfo/item/cmpyflag" visibility="hidden" overflow="visible" appearance="full" cols="2" rows="1" style="left:1085px; top:80px; width:100px; height:20px; border-style:none; ">
  2055. <choices>
  2056. <item>
  2057. <label>개인</label>
  2058. <value>N</value>
  2059. </item>
  2060. <item>
  2061. <label>단체</label>
  2062. <value>Y</value>
  2063. </item>
  2064. </choices>
  2065. </select1>
  2066. <output id="opt_insucorpbrchnm" ref="/root/main/info/rsrvacptinfo/item/insucorpbrchnm" class="output_fix" style="left:478px; top:363px; width:105px; height:19px; "/>
  2067. <input id="ipt_insucorpbrchcd" ref="/root/main/info/rsrvacptinfo/item/insucorpbrchcd" class="input_default" imemode="hangul" style="left:368px; top:363px; width:82px; height:19px; ">
  2068. <script type="javascript" ev:event="onkeyup">
  2069. <![CDATA[
  2070. if( event.keyCode == 13 ){
  2071. if( ipt_insucorpbrchcd.currentText == "" ) return ;
  2072. var sCond = ipt_insucorpbrchcd.currentText ;
  2073. var ret = ahafGetCmpyInfo( "02", sCond , "N" ,ipt_insucorpbrchcd.attribute("ref"), opt_insucorpbrchnm.attribute("ref") , "");
  2074. if( !ret ) {
  2075. fGetComnCd("SMAHA01500", "02" , "nm", sCond ,ipt_insucorpbrchcd.attribute("ref"), opt_insucorpbrchnm.attribute("ref"));
  2076. }
  2077. }
  2078. ]]>
  2079. </script>
  2080. </input>
  2081. <button id="btn_selinsucorpbrchcd" class="icon_search" style="left:456px; top:364px; width:16px; height:16px; ">
  2082. <caption/>
  2083. <script type="javascript" ev:event="DOMActivate">
  2084. <![CDATA[
  2085. fGetComnCd("SMAHA01500", "02" , "nm", ipt_insucorpbrchcd.currentText ,ipt_insucorpbrchcd.attribute("ref"), opt_insucorpbrchnm.attribute("ref"));
  2086. ]]>
  2087. </script>
  2088. </button>
  2089. <select1 id="cmb_rsrvflag" ref="/root/main/info/rsrvacptinfo/item/rsrvflag" class="combo_essential" appearance="minimal" style="left:757px; top:264px; width:95px; height:19px; ">
  2090. <choices>
  2091. <itemset nodeset="/root/init/baseinfo/rsrvflaglst/A0115">
  2092. <label ref="cdnm"/>
  2093. <value ref="cdid"/>
  2094. </itemset>
  2095. </choices>
  2096. <script type="javascript" ev:event="xforms-value-changed">
  2097. <![CDATA[
  2098. fMoveFocus("cmb_rsltcnstflag");
  2099. ]]>
  2100. </script>
  2101. </select1>
  2102. <caption id="cap_rsrvflag" class="cell_1" style="left:685px; top:262px; width:70px; height:23px; vertical-align:middle; ">예약구분</caption>
  2103. <button id="btn_getinsu" class="btn2_letter4" style="left:1038px; top:106px; width:64px; height:19px; ">
  2104. <caption>자격조회</caption>
  2105. <script type="javascript" ev:event="DOMActivate">
  2106. <![CDATA[
  2107. var sRgstNo1 = model.getValue( ipt_rgstno1.attribute("ref") );
  2108. var sRgstNo2 = model.getValue( ipt_rgstno2.attribute("ref") );
  2109. var sHngNm = model.getValue( ipt_pnm.attribute("ref") );
  2110. var sOrdDD = model.getValue( ipt_hopedd.attribute("ref") );
  2111. if( sOrdDD == "" ) {
  2112. sOrdDD = model.getValue( ipt_orddd.attribute("ref") );
  2113. }
  2114. var vInsuKind = opt_insukind.attribute("ref") ;
  2115. var vInsuID = ipt_insuid.attribute("ref") ;
  2116. var vInsuCd = opt_insucd.attribute("ref") ;
  2117. var vFromDD = "";
  2118. var vInsuNm = "";
  2119. var vInsuBranchCd = ipt_insucorpbrchcd.attribute("ref") ;
  2120. var vInsuBranchNm = opt_insucorpbrchnm.attribute("ref") ;
  2121. ahafGetInsuCnts(sRgstNo1, sRgstNo2, sHngNm, sOrdDD
  2122. ,vInsuKind, vInsuID, vInsuCd, vFromDD, vInsuNm , vInsuBranchCd , vInsuBranchNm);
  2123. var sInsuKind = model.getValue(vInsuKind ) ;
  2124. if( sInsuKind == "" ){
  2125. if( sInsuKind != "11" ) //건강보험 이 아니면 의료급여로 가정...
  2126. {
  2127. cmb_insuflag.value = "3";
  2128. }
  2129. }
  2130. ]]>
  2131. </script>
  2132. </button>
  2133. <output id="opt_insukind" ref="/root/main/info/patinfo/item/patm_insukind" class="output_fix" visibility="hidden" style="left:635px; top:110px; width:30px; height:19px; "/>
  2134. <output id="opt_insucd" ref="/root/main/info/patinfo/item/patm_insucd" class="output_fix" style="left:446px; top:158px; width:62px; height:19px; "/>
  2135. </group>
  2136. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  2137. <button id="btn_cmpy" class="btn3_letter5" style="left:94px; top:4px; width:92px; height:22px; ">
  2138. <caption>거래처등록</caption>
  2139. <script type="javascript" ev:event="DOMActivate">
  2140. <![CDATA[
  2141. open("SMAHB00500");
  2142. ]]>
  2143. </script>
  2144. </button>
  2145. <button id="btn_groupacpt" class="btn3_letter6" style="left:187px; top:4px; width:104px; height:22px; ">
  2146. <caption>단체예약/접수</caption>
  2147. <script type="javascript" ev:event="DOMActivate">
  2148. <![CDATA[
  2149. open("SMAHA00300");
  2150. ]]>
  2151. </script>
  2152. </button>
  2153. <button id="btn_prntdiag" class="btn3_letter5" style="left:293px; top:4px; width:92px; height:22px; ">
  2154. <caption>진단서출력</caption>
  2155. </button>
  2156. <button id="btn_rsrvcfm" class="btn4_letter2" style="left:820px; top:4px; width:56px; height:22px; ">
  2157. <caption>예약</caption>
  2158. <script type="javascript" ev:event="DOMActivate">
  2159. <![CDATA[
  2160. fSaveRsrvAcpt("C");
  2161. ]]>
  2162. </script>
  2163. </button>
  2164. <button id="btn_clear" class="btn4_letter3" style="left:749px; top:4px; width:68px; height:22px; ">
  2165. <caption>초기화</caption>
  2166. <script type="javascript" ev:event="DOMActivate">
  2167. <![CDATA[
  2168. fInitInfo();
  2169. fSetBtnStat();
  2170. ]]>
  2171. </script>
  2172. </button>
  2173. <button id="btn_rsrvcncl" class="btn4_letter4" style="left:879px; top:4px; width:80px; height:22px; ">
  2174. <caption>예약취소</caption>
  2175. <script type="javascript" ev:event="DOMActivate">
  2176. <![CDATA[
  2177. fSaveRsrvAcpt("D");
  2178. ]]>
  2179. </script>
  2180. </button>
  2181. <button id="btn_acpt" class="btn4_letter2" style="left:997px; top:4px; width:56px; height:22px; ">
  2182. <caption>접수</caption>
  2183. <script type="javascript" ev:event="DOMActivate">
  2184. <![CDATA[
  2185. var ret = fSaveRsrvAcpt("E");
  2186. //접수처리 실패시 return
  2187. if( ret < 0 ) return ;
  2188. if (model.getValue ("/root/main/prntinfo/prntyn") != "Y" ){
  2189. return;
  2190. }
  2191. fPrntChrt();
  2192. ]]>
  2193. </script>
  2194. </button>
  2195. <button id="btn_acptcncl" class="btn4_letter4" style="left:1056px; top:4px; width:80px; height:22px; ">
  2196. <caption>접수취소</caption>
  2197. <script type="javascript" ev:event="DOMActivate">
  2198. <![CDATA[
  2199. fSaveRsrvAcpt("F");
  2200. ]]>
  2201. </script>
  2202. </button>
  2203. <button id="btn_rcpt" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
  2204. <caption>수납</caption>
  2205. <script type="javascript" ev:event="DOMActivate">
  2206. <![CDATA[
  2207. ahafOpenRcpt( fGetHealExamFlag()
  2208. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd")
  2209. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")
  2210. , model.getValue("/root/main/info/patinfo/item/pid")
  2211. , model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat")
  2212. , model.getValue("/root/main/info/rsrvacptinfo/item/orddd" ) );
  2213. ]]>
  2214. </script>
  2215. </button>
  2216. <button id="btn_testrsrv" class="btn3_letter4" style="left:387px; top:4px; width:80px; height:22px; ">
  2217. <caption>검사예약</caption>
  2218. </button>
  2219. <button id="btn_prntseq" class="btn6_letter5" style="left:0px; top:4px; width:92px; height:22px; ">
  2220. <caption>순서표출력</caption>
  2221. </button>
  2222. <button id="btn_rsrvacptprest" class="btn3_letter6" style="left:469px; top:4px; width:104px; height:22px; ">
  2223. <caption>예약/접수현황</caption>
  2224. <script type="javascript" ev:event="DOMActivate">
  2225. <![CDATA[
  2226. ahafOpenRsrvAcptList("SMAHA00100"
  2227. , fGetHealExamFlag() , model.getValue(cmb_healexamdetlflag.attribute("ref") ) , "N" , "C" , ""
  2228. , "" , ipt_pnm.currentText, ipt_pid.currentText , ipt_rgstno1.currentText, ipt_rgstno2.currentText, "", "pnm", "/root/main/info/rsrvacptinfo/item");
  2229. if( model.getValue("/root/temp/SMAHA00400/okflag") == "ok" ){
  2230. ahafGetRsrvAcpDetltInfo( model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd"), model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") );
  2231. }
  2232. ]]>
  2233. </script>
  2234. </button>
  2235. <button id="btn_prntchrt" class="btn6_letter5" style="left:575px; top:4px; width:92px; height:22px; ">
  2236. <caption>기록지출력</caption>
  2237. <script type="javascript" ev:event="DOMActivate">
  2238. <![CDATA[
  2239. fPrntChrt();
  2240. ]]>
  2241. </script>
  2242. </button>
  2243. </group>
  2244. </xhtml:body>
  2245. </xhtml:html>